[GH-ISSUE #7307] ollama run hf.co/* does not use Modelfile in repo #30405

Closed
opened 2026-04-22 10:00:33 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @chrisbward on GitHub (Oct 22, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7307

What is the issue?

➜  ~ ollama run hf.co/KOOWEEYUS/BlackSheep
>>> /show modelfile
# Modelfile generated by "ollama show"
# To build a new Modelfile based on this, replace FROM with:
# FROM hf.co/KOOWEEYUS/BlackSheep:latest

FROM /media/NAS/MLModels/02_LLMs/ollama_models/blobs/sha256-40db8db74cd91baeb90dbcbf799da57260dfca00d3ab6e40e26a05f73ad572ae
TEMPLATE {{ .Prompt }}

expected to see the model file from the repo being used

OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

0.3.13

Originally created by @chrisbward on GitHub (Oct 22, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7307 ### What is the issue? ``` ➜ ~ ollama run hf.co/KOOWEEYUS/BlackSheep >>> /show modelfile # Modelfile generated by "ollama show" # To build a new Modelfile based on this, replace FROM with: # FROM hf.co/KOOWEEYUS/BlackSheep:latest FROM /media/NAS/MLModels/02_LLMs/ollama_models/blobs/sha256-40db8db74cd91baeb90dbcbf799da57260dfca00d3ab6e40e26a05f73ad572ae TEMPLATE {{ .Prompt }} ``` expected to see the model file from the repo being used ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.3.13
GiteaMirror added the bug label 2026-04-22 10:00:33 -05:00
Author
Owner

@fxmbsw7 commented on GitHub (Oct 22, 2024):

the file is the string /media/*

<!-- gh-comment-id:2428141982 --> @fxmbsw7 commented on GitHub (Oct 22, 2024): the file is the string /media/*
Author
Owner

@chrisbward commented on GitHub (Oct 22, 2024):

Fully expected it to use the modelfile in the repo automatically?

<!-- gh-comment-id:2428546763 --> @chrisbward commented on GitHub (Oct 22, 2024): Fully expected it to use the modelfile in the repo automatically?
Author
Owner

@pdevine commented on GitHub (Oct 23, 2024):

Thanks for the issue, @chrisbward . I think you'll need to ask the Huggingface team to implement that. I think it'd be a really cool feature though.

<!-- gh-comment-id:2430609122 --> @pdevine commented on GitHub (Oct 23, 2024): Thanks for the issue, @chrisbward . I think you'll need to ask the Huggingface team to implement that. I think it'd be a really cool feature though.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#30405