[GH-ISSUE #12765] An optional command line parameter in ollama pull to rename a downloaded model #8466

Closed
opened 2026-04-12 21:09:33 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @NeoTiger on GitHub (Oct 24, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/12765

It would be nice to specify a local name for a pulled model directly in the ollama pull command. Right now the workaround is to pull a model, cp it to a different name and then rm the downloaded one. But that feels a bis awkward and causes unnecessary SSD wear.

Originally created by @NeoTiger on GitHub (Oct 24, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/12765 It would be nice to specify a local name for a pulled model directly in the ollama pull command. Right now the workaround is to pull a model, **cp** it to a different name and then **rm** the downloaded one. But that feels a bis awkward and causes unnecessary SSD wear.
GiteaMirror added the feature request label 2026-04-12 21:09:33 -05:00
Author
Owner

@rick-github commented on GitHub (Oct 24, 2025):

causes unnecessary SSD wear.

Copying a model doesn't copy the weights, it just creatures a new manifest.

<!-- gh-comment-id:3441676632 --> @rick-github commented on GitHub (Oct 24, 2025): > causes unnecessary SSD wear. Copying a model doesn't copy the weights, it just creatures a new manifest.
Author
Owner

@pdevine commented on GitHub (Oct 24, 2025):

As @rick-github mentioned, ollama cp will not duplicate the weights. They will be shared with the new model. The weights only get garbage collected when you delete all models that reference them.

I'm going to close this as answered.

<!-- gh-comment-id:3444055865 --> @pdevine commented on GitHub (Oct 24, 2025): As @rick-github mentioned, `ollama cp` will not duplicate the weights. They will be shared with the new model. The weights only get garbage collected when you delete all models that reference them. I'm going to close this as answered.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#8466