[GH-ISSUE #10329] Error after creating a model : "Error: pull model manifest: file does not exist" #68840

Closed
opened 2026-05-04 15:23:11 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @fmatray on GitHub (Apr 17, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10329

What is the issue?

I'm trying to create a model from gemma3:12b to integrate tools.
After creating, I have the following error when I try to run it:
Error: pull model manifest: file does not exist

This happened even if I don't modify the modelfile.

Relevant log output

User@Prometheus ~ % ollama --version
ollama version is 0.6.5
fredericmatray@Prometheus ~ % ollama list 
NAME                                       ID              SIZE      MODIFIED      
gemma3:12b-tools                           1ba768b1842d    8.1 GB    4 minutes ago    
mxbai-embed-large:latest                   468836162de7    669 MB    2 hours ago      
gemma3:12b                                 f4031aab637d    8.1 GB    32 hours ago     
gemma3:1b                                  8648f39daa8f    815 MB    33 hours ago     
cogito-deep:8b                             fdc7e7be4b6e    4.9 GB    2 days ago       
cogito-deep:14b                            0eafa57d8edb    9.0 GB    4 days ago       
cogito-deep:3b                             3646130d7434    2.2 GB    4 days ago       
cogito:3b                                  bd144357d717    2.2 GB    5 days ago       
cogito:14b                                 d0cac86a2347    9.0 GB    6 days ago       
cogito:8b                                  75b508ddece1    4.9 GB    7 days ago       
mistral:latest                             f974a74358d6    4.1 GB    13 days ago      
codestral:latest                           0898a8b286d5    12 GB     5 weeks ago      
nomic-embed-text:latest                    0a109f422b47    274 MB    4 months ago     
all-minilm:latest                          1b226e2802db    45 MB     4 months ago      
llava:latest                               8dd30f6b0cb1    4.7 GB    4 months ago        
User@Prometheus ~ % ollama show gemma3:12b --modelfile > gemma3-tools:12b.modelfile
User@Prometheus ~ % ollama create gemma3-tools:12b -f gemma3-tools:12b.modelfile
gathering model components 
copying file sha256:e8ad13eff07a78d89926e9e8b882317d082ef5bf9768ad7b50fcdbbcd63748de 100% 
parsing GGUF 
using existing layer sha256:e8ad13eff07a78d89926e9e8b882317d082ef5bf9768ad7b50fcdbbcd63748de 
using existing layer sha256:e0a42594d802e5d31cdc786deb4823edb8adff66094d49de8fffe976d753e348 
using existing layer sha256:dd084c7d92a3c1c14cc09ae77153b903fd2024b64a100a0cc8ec9316063d2dbc 
using existing layer sha256:3116c52250752e00dd06b16382e952bd33c34fd79fc4fe3a5d2c77cf7de1b14b 
writing manifest 
success 
User@Prometheus ~ % ollama run gemma3-tools:12b
pulling manifest 
Error: pull model manifest: file does not exist
User@Prometheus ~ %

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.6.5

Originally created by @fmatray on GitHub (Apr 17, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10329 ### What is the issue? I'm trying to create a model from gemma3:12b to integrate tools. After creating, I have the following error when I try to run it: ```Error: pull model manifest: file does not exist``` This happened even if I don't modify the modelfile. ### Relevant log output ```shell User@Prometheus ~ % ollama --version ollama version is 0.6.5 fredericmatray@Prometheus ~ % ollama list NAME ID SIZE MODIFIED gemma3:12b-tools 1ba768b1842d 8.1 GB 4 minutes ago mxbai-embed-large:latest 468836162de7 669 MB 2 hours ago gemma3:12b f4031aab637d 8.1 GB 32 hours ago gemma3:1b 8648f39daa8f 815 MB 33 hours ago cogito-deep:8b fdc7e7be4b6e 4.9 GB 2 days ago cogito-deep:14b 0eafa57d8edb 9.0 GB 4 days ago cogito-deep:3b 3646130d7434 2.2 GB 4 days ago cogito:3b bd144357d717 2.2 GB 5 days ago cogito:14b d0cac86a2347 9.0 GB 6 days ago cogito:8b 75b508ddece1 4.9 GB 7 days ago mistral:latest f974a74358d6 4.1 GB 13 days ago codestral:latest 0898a8b286d5 12 GB 5 weeks ago nomic-embed-text:latest 0a109f422b47 274 MB 4 months ago all-minilm:latest 1b226e2802db 45 MB 4 months ago llava:latest 8dd30f6b0cb1 4.7 GB 4 months ago User@Prometheus ~ % ollama show gemma3:12b --modelfile > gemma3-tools:12b.modelfile User@Prometheus ~ % ollama create gemma3-tools:12b -f gemma3-tools:12b.modelfile gathering model components copying file sha256:e8ad13eff07a78d89926e9e8b882317d082ef5bf9768ad7b50fcdbbcd63748de 100% parsing GGUF using existing layer sha256:e8ad13eff07a78d89926e9e8b882317d082ef5bf9768ad7b50fcdbbcd63748de using existing layer sha256:e0a42594d802e5d31cdc786deb4823edb8adff66094d49de8fffe976d753e348 using existing layer sha256:dd084c7d92a3c1c14cc09ae77153b903fd2024b64a100a0cc8ec9316063d2dbc using existing layer sha256:3116c52250752e00dd06b16382e952bd33c34fd79fc4fe3a5d2c77cf7de1b14b writing manifest success User@Prometheus ~ % ollama run gemma3-tools:12b pulling manifest Error: pull model manifest: file does not exist User@Prometheus ~ % ``` ### OS macOS ### GPU Apple ### CPU Apple ### Ollama version 0.6.5
GiteaMirror added the bug label 2026-05-04 15:23:11 -05:00
Author
Owner

@rick-github commented on GitHub (Apr 18, 2025):

https://github.com/ollama/ollama/issues/10121#issuecomment-2790188581

Do this instead:

% echo FROM gemma3:12b > gemma3-tools:12b.modelfile
% ollama create gemma3-tools:12b -f gemma3-tools:12b.modelfile
<!-- gh-comment-id:2814239255 --> @rick-github commented on GitHub (Apr 18, 2025): https://github.com/ollama/ollama/issues/10121#issuecomment-2790188581 Do this instead: ```console % echo FROM gemma3:12b > gemma3-tools:12b.modelfile % ollama create gemma3-tools:12b -f gemma3-tools:12b.modelfile ```
Author
Owner

@fmatray commented on GitHub (Apr 18, 2025):

Thanks, it works.

It the first time I have the issue with a model.
Previously, I use to do the same commands with other models without any problem.

<!-- gh-comment-id:2814856273 --> @fmatray commented on GitHub (Apr 18, 2025): Thanks, it works. It the first time I have the issue with a model. Previously, I use to do the same commands with other models without any problem.
Author
Owner

@linssonSUSUSU commented on GitHub (Apr 18, 2025):

Thanks, it works.

It the first time I have the issue with a model. Previously, I use to do the same commands with other models without any problem.

The model was successfully created and could reply normally, but when function call gemma3-tools:27b does not support tools appeared. Have you encountered it?

<!-- gh-comment-id:2814920087 --> @linssonSUSUSU commented on GitHub (Apr 18, 2025): > Thanks, it works. > > It the first time I have the issue with a model. Previously, I use to do the same commands with other models without any problem. The model was successfully created and could reply normally, but when function call `gemma3-tools:27b does not support tools` appeared. Have you encountered it?
Author
Owner

@rick-github commented on GitHub (Apr 18, 2025):

You have to modify the template to enable tools, see https://ollama.com/search?q=gemma3%20tools

<!-- gh-comment-id:2814927748 --> @rick-github commented on GitHub (Apr 18, 2025): You have to modify the template to enable tools, see https://ollama.com/search?q=gemma3%20tools
Author
Owner

@linssonSUSUSU commented on GitHub (Apr 18, 2025):

You have to modify the template to enable tools, see https://ollama.com/search?q=gemma3%20tools

I echo PetrosStav/gemma3-tools:27b and function call worked. So if I want add num_ctx, I need to add parameter in PetrosStav/gemma3-tools's modelfile? Could you have any eazy solutions?

<!-- gh-comment-id:2814976480 --> @linssonSUSUSU commented on GitHub (Apr 18, 2025): > You have to modify the template to enable tools, see https://ollama.com/search?q=gemma3%20tools I echo PetrosStav/gemma3-tools:27b and function call worked. So if I want add num_ctx, I need to add parameter in PetrosStav/gemma3-tools's modelfile? Could you have any eazy solutions?
Author
Owner

@rick-github commented on GitHub (Apr 18, 2025):

echo FROM PetrosStav/gemma3-tools:27b > Modelfile
echo PARAMETER num_ctx 32768 >> Modelfile
ollama create gemma3-tools:27b-c32k
<!-- gh-comment-id:2815027447 --> @rick-github commented on GitHub (Apr 18, 2025): ``` echo FROM PetrosStav/gemma3-tools:27b > Modelfile echo PARAMETER num_ctx 32768 >> Modelfile ollama create gemma3-tools:27b-c32k ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#68840