[GH-ISSUE #10701] possible to pull a specific model file using ollama pull hf.co/name/model command? #7032

Closed
opened 2026-04-12 18:56:16 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @AncientMystic on GitHub (May 14, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10701

as the title says, is it possible to pull a specific model file using ollama pull hf.co/name/model command?

by which i mean in many of these references to models there are many quants under each, rarely is it one page per quant unless the user never made options so we always have name/model/quants yet if i specify ollama pull hf.co/name/model/quant file, it will error out, same with giving a whole url, it only seems to support name/model, then it will just grab the top/default model, which is often not the one i want.

the only other option is manually grabbing the file then creating a model file and adding it that way, which is what i would usually do, but lately for some reason on my linux install ollama refuses to allow me to do that or to allow open-webui to do that claiming a permissions issue.

i fixed it twice then both times after a reboot its doing it again and the fix doesn't work and i keep having to find a new way to fix it, it claims no permissions to write to the model directory, (i fixed it once by simply unmounting and remounting the drive then restarting ollama) yet pull from ollama and pull hf.co/ are successful to write and give no errors, so i am stuck with those for now. (although i dont get how ollama thinks it has no permission to write one way but thinks it does another way basically only stopping me from adding custom model files directly in any way)

Originally created by @AncientMystic on GitHub (May 14, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10701 as the title says, is it possible to pull a specific model file using ollama pull hf.co/name/model command? by which i mean in many of these references to models there are many quants under each, rarely is it one page per quant unless the user never made options so we always have name/model/quants yet if i specify ollama pull hf.co/name/model/quant file, it will error out, same with giving a whole url, it only seems to support name/model, then it will just grab the top/default model, which is often not the one i want. the only other option is manually grabbing the file then creating a model file and adding it that way, which is what i would usually do, but lately for some reason on my linux install ollama refuses to allow me to do that or to allow open-webui to do that claiming a permissions issue. i fixed it twice then both times after a reboot its doing it again and the fix doesn't work and i keep having to find a new way to fix it, it claims no permissions to write to the model directory, (i fixed it once by simply unmounting and remounting the drive then restarting ollama) yet pull from ollama and pull hf.co/ are successful to write and give no errors, so i am stuck with those for now. (although i dont get how ollama thinks it has no permission to write one way but thinks it does another way basically only stopping me from adding custom model files directly in any way)
Author
Owner

@Nyx1197 commented on GitHub (May 14, 2025):

like this?
ollama run hf.co/bartowski/microsoft_Phi-4-mini-reasoning-GGUF:Q4_K_M

<!-- gh-comment-id:2878587772 --> @Nyx1197 commented on GitHub (May 14, 2025): like this? ollama run hf.co/bartowski/microsoft_Phi-4-mini-reasoning-GGUF:Q4_K_M
Author
Owner

@AncientMystic commented on GitHub (May 14, 2025):

like this?
ollama run hf.co/bartowski/microsoft_Phi-4-mini-reasoning-GGUF:Q4_K_M

Ah, thank you, that works, much appreciated

<!-- gh-comment-id:2878593022 --> @AncientMystic commented on GitHub (May 14, 2025): > like this? > ollama run hf.co/bartowski/microsoft_Phi-4-mini-reasoning-GGUF:Q4_K_M > Ah, thank you, that works, much appreciated
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#7032