[GH-ISSUE #153] Control model cache location (set ollama directory to something other than ~/.ollama) #62093

Closed
opened 2026-05-03 07:29:35 -05:00 by GiteaMirror · 5 comments
Owner

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

It would be useful to configure the location where models are cached, so models could be downloaded and stored on external storage.

Originally created by @weaversam8 on GitHub (Jul 21, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/153 It would be useful to configure the location where models are cached, so models could be downloaded and stored on external storage.
GiteaMirror added the feature request label 2026-05-03 07:29:35 -05:00
Author
Owner

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

See my workaround in #155, for now.

<!-- gh-comment-id:1646335054 --> @abulka commented on GitHub (Jul 21, 2023): See my workaround in #155, for now.
Author
Owner

@tspike commented on GitHub (Aug 3, 2023):

For what it's worth, that workaround causes a kernel panic on my Mac. Keeping it on the internal disk works ok, but takes up a ton of space.

<!-- gh-comment-id:1664498185 --> @tspike commented on GitHub (Aug 3, 2023): For what it's worth, that workaround causes a kernel panic on my Mac. Keeping it on the internal disk works ok, but takes up a ton of space.
Author
Owner

@xyproto commented on GitHub (Oct 16, 2023):

Anyone had luck caching ~/.ollama across runs in a GitHub action?

<!-- gh-comment-id:1764692258 --> @xyproto commented on GitHub (Oct 16, 2023): Anyone had luck caching `~/.ollama` across runs in a GitHub action?
Author
Owner

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

Any help on this would be great! I would like to configure where I can download the models to

<!-- gh-comment-id:1766922317 --> @jikkuatwork commented on GitHub (Oct 17, 2023): Any help on this would be great! I would like to configure where I can download the models to
Author
Owner

@BruceMacD commented on GitHub (Oct 27, 2023):

resolved by #897

<!-- gh-comment-id:1783220794 --> @BruceMacD commented on GitHub (Oct 27, 2023): resolved by #897
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#62093