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 can we make model calls faster #4493

Open
userandpass opened this issue May 17, 2024 · 1 comment
Open

How can we make model calls faster #4493

userandpass opened this issue May 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@userandpass
Copy link

userandpass commented May 17, 2024

What is the issue?

I used docker to load multiple ollama images and distribute them using nginx, which was much slower than calling the deployed model directly

OS

Linux

GPU

Nvidia

CPU

No response

Ollama version

0.1.34

@userandpass userandpass added the bug Something isn't working label May 17, 2024
@userandpass userandpass changed the title How to solve the problem of automatically reloading the model on the card if it is called after a certain period of time How can we make model calls faster May 17, 2024
@userandpass
Copy link
Author

After I added the "keep_alive": "24h" parameter, after a while I executed the nvidia-smi command, there was no ollama on the card, so I needed to call the interface to display it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant