on-internet
← Community

How to change where OLLAMA models are saved on linux

Stack Overflow ·

As far as I understood from https://klu.ai/glossary/ollama, when we download a model through OLLAMA, Ollama models are stored in the ~/.ollama/models directory. Is there a way to change this default directory, and make OLLAMA read from another directory like ~/projects/foo/modelX/? Or can we make the OLLAMA download the model to this directory in the first place? Thanks!

Comments

Sign in or sign up to comment and upvote.

No comments yet.