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

on runner startup, do all the ollama model warmup in one place #225

Open
lukemarsden opened this issue Mar 19, 2024 · 0 comments
Open

on runner startup, do all the ollama model warmup in one place #225

lukemarsden opened this issue Mar 19, 2024 · 0 comments

Comments

@lukemarsden
Copy link
Collaborator

  • runners start multiple ollama processes
  • ollama processes share the model cache on the filesystem in the container
  • if requests result in multiple ollama processes warming up in parallel, they tread on eachothers' cache

I've seen issues with the model cache getting corrupted in this case. We should just warm up the ollama model cache once, based on the warmup models, before spinning up multiple ollama instances

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant