[GH-ISSUE #155] Where are the models pulled to? #46568

Closed
opened 2026-04-27 23:01:12 -05:00 by GiteaMirror · 8 comments
Owner

Originally created by @m3kwong on GitHub (Jul 21, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/155

It downloaded 7 gigs of stuff and i can't seem to find where it went. I want to download it. Any ideas?

Originally created by @m3kwong on GitHub (Jul 21, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/155 It downloaded 7 gigs of stuff and i can't seem to find where it went. I want to download it. Any ideas?
Author
Owner

@mchiang0610 commented on GitHub (Jul 21, 2023):

@m3kwong We store the models in layers in ~/.ollama/models.

If you list that folder, you'll see two directories: blobs and manifests. Blob is the raw data, and manifest is the metadata. Together, they make up the model.

If you are looking for a model file (e.g. .bin file), it's currently not available. We can look into potentially building an export feature for the file.

<!-- gh-comment-id:1645009576 --> @mchiang0610 commented on GitHub (Jul 21, 2023): @m3kwong We store the models in layers in `~/.ollama/models`. If you list that folder, you'll see two directories: **blobs** and **manifests**. Blob is the raw data, and manifest is the metadata. Together, they make up the model. If you are looking for a model file (e.g. .bin file), it's currently not available. We can look into potentially building an export feature for the file.
Author
Owner

@abulka commented on GitHub (Jul 21, 2023):

If you don't have much storage on your main mac drive and keep big files on an external drive, you can use a symbolic link to trick ollama into putting the files on an external drive.

# move existing models
mv ~/.ollama/models /Volumes/SSD/Data/ollama/models
# or before you start
mkdir -p /Volumes/SSD/Data/ollama/models

ln -s /Volumes/SSD/Data/ollama/models ~/.ollama/models
<!-- gh-comment-id:1646333431 --> @abulka commented on GitHub (Jul 21, 2023): If you don't have much storage on your main mac drive and keep big files on an external drive, you can use a symbolic link to trick ollama into putting the files on an external drive. ``` # move existing models mv ~/.ollama/models /Volumes/SSD/Data/ollama/models # or before you start mkdir -p /Volumes/SSD/Data/ollama/models ln -s /Volumes/SSD/Data/ollama/models ~/.ollama/models ```
Author
Owner

@jmorganca commented on GitHub (Aug 23, 2023):

Closing as this question has been answered. Moedls are pulled to:

~/.ollama/models

Note they are stored as blobs so they can be re-used between models that share different prompts, etc.

<!-- gh-comment-id:1690383057 --> @jmorganca commented on GitHub (Aug 23, 2023): Closing as this question has been answered. Moedls are pulled to: ``` ~/.ollama/models ``` Note they are stored as blobs so they can be re-used between models that share different prompts, etc.
Author
Owner

@Nasreddine commented on GitHub (Oct 17, 2023):

I cannot locate the model directory in the specified location, "~/.ollama/models," on Linux!
I've installed "llama2"

<!-- gh-comment-id:1766007193 --> @Nasreddine commented on GitHub (Oct 17, 2023): I cannot locate the model directory in the specified location, "~/.ollama/models," on Linux! I've installed "llama2"
Author
Owner

@byteconcepts commented on GitHub (Oct 24, 2023):

If ollama is installed by root on a linux system like it should be because it is installing a system-service, models etc are stored under /usr/share/ollama/.ollama.

The directory /usr/share/ollama is used as the home directory for the system-user ollama which is added to the OS for running the systemd system-service.

A normal user does not have access to this dir because it is owned by the ollama user.
If you like another normal user have read access to ollama home directory, you need to add this user to the ollama usergroup.

But a normal user can use the ollama console application to access the ollama system-service!

<!-- gh-comment-id:1777281853 --> @byteconcepts commented on GitHub (Oct 24, 2023): If ollama is installed by root on a linux system like it should be because it is installing a system-service, models etc are stored under /usr/share/ollama/.ollama. The directory /usr/share/ollama is used as the home directory for the system-user ollama which is added to the OS for running the systemd system-service. A normal user does not have access to this dir because it is owned by the ollama user. If you like another normal user have read access to ollama home directory, you need to add this user to the ollama usergroup. But a normal user can use the ollama console application to access the ollama system-service!
Author
Owner

@insooneelife commented on GitHub (Mar 18, 2024):

Where is the model directory in windows?

EDIT:
I found it.
c:/user/username/.ollama/~

<!-- gh-comment-id:2002962469 --> @insooneelife commented on GitHub (Mar 18, 2024): Where is the model directory in windows? EDIT: I found it. c:/user/username/.ollama/~
Author
Owner

@oricoh commented on GitHub (Jul 1, 2024):

can't you put them in folders under the model name? I want to delete some models but I don't know which is which.

<!-- gh-comment-id:2199444990 --> @oricoh commented on GitHub (Jul 1, 2024): can't you put them in folders under the model name? I want to delete some models but I don't know which is which.
Author
Owner

@NigelWan commented on GitHub (Jul 27, 2024):

Win Path:C:\Users\“Username”\.ollama

<!-- gh-comment-id:2254105934 --> @NigelWan commented on GitHub (Jul 27, 2024): Win Path:C:\Users\“Username”\\.ollama
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#46568