[GH-ISSUE #4004] Different folders for (sha 256) models #64519

Closed
opened 2026-05-03 17:57:22 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @marek7400 on GitHub (Apr 28, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4004

The program stores ALL models in parts in a directory:
ollama\models\blobs
With the various problems of downloading models, moving them to another location, etc., this causes a problem, because you have to work a bit to figure out which parts belong to which model.

It would be a good idea to put each model in parts into a PERSONAL catalog.
e.g.
ollama_models\blobs\lama3
ollama_models\blobs\gemma
ollama_models\blobs\mistral7b
ollama\models\blobs\llava:34b

Originally created by @marek7400 on GitHub (Apr 28, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4004 The program stores ALL models in parts in a directory: ollama\models\blobs With the various problems of downloading models, moving them to another location, etc., this causes a problem, because you have to work a bit to figure out which parts belong to which model. It would be a good idea to put each model in parts into a PERSONAL catalog. e.g. ollama_models\blobs\lama3 ollama_models\blobs\gemma ollama_models\blobs\mistral7b ollama\models\blobs\llava:34b
GiteaMirror added the feature request label 2026-05-03 17:57:22 -05:00
Author
Owner

@pdevine commented on GitHub (Apr 29, 2024):

Hey @milenamilka755 , thanks for the issue. The reason why they are stored in a single directory is it's possible for models to share various parts like their weights, templates, parameters, etc. It allows us to deduplicate anything which is shared.

If you need to move the models out to some other place you can always use the OLLAMA_MODELS env variable w/ ollama serve (this is covered in the FAQ). I'm going to close the issue, but was there a particular problem you were running into w/ downloading? Was it freezing at 99%?

<!-- gh-comment-id:2083049685 --> @pdevine commented on GitHub (Apr 29, 2024): Hey @milenamilka755 , thanks for the issue. The reason why they are stored in a single directory is it's possible for models to share various parts like their weights, templates, parameters, etc. It allows us to deduplicate anything which is shared. If you need to move the models out to some other place you can always use the `OLLAMA_MODELS` env variable w/ `ollama serve` (this is covered in the FAQ). I'm going to close the issue, but was there a particular problem you were running into w/ downloading? Was it freezing at 99%?
Author
Owner

@marek7400 commented on GitHub (Apr 29, 2024):

I'm going to close the issue, but was there a particular problem you were running into w/ downloading? Was it freezing at 99%?
Sometimes when a model is deleted, it does not remove all files associated with the model.

<!-- gh-comment-id:2083197677 --> @marek7400 commented on GitHub (Apr 29, 2024): > I'm going to close the issue, but was there a particular problem you were running into w/ downloading? Was it freezing at 99%? Sometimes when a model is deleted, it does not remove all files associated with the model.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#64519