Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set OLLAMA_NUM_PARALLEL Environment parameter in ollama docker? #4530

Closed
atptour2024 opened this issue May 20, 2024 · 1 comment
Closed
Labels
question General questions

Comments

@atptour2024
Copy link

I want to set OLLAMA_NUM_PARALLEL=10 for ollama docker to handle multiple requests simultaneously. How to set it in the docker run command?

@atptour2024 atptour2024 added the feature request New feature or request label May 20, 2024
@pdevine pdevine added question General questions and removed feature request New feature or request labels May 20, 2024
@pdevine
Copy link
Contributor

pdevine commented May 20, 2024

@atptour2024 You can use:

docker run -d -v ollama:/root/.ollama -p 11434:11434 -e OLLAMA_NUM_PARALLEL=10 --name ollama ollama/ollama

Hope that helps.

@pdevine pdevine closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General questions
Projects
None yet
Development

No branches or pull requests

2 participants