[GH-ISSUE #1390] ollama create not working #62772

Closed
opened 2026-05-03 10:16:55 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @almonk on GitHub (Dec 5, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1390

Following the Modelfile tutorial in the readme, I can't get ollama create to work.

My modelfile is as follows:

FROM codellama:13b-instruct 

SYSTEM """
You are Mario from super mario bros, acting as an assistant.
"""

When I attempt to create from the modelfile, I get the following error:

transferring model data
pulling model
pulling manifest
Error: pull model manifest: file does not exist

I have pulled the codellama:13b-instruct model to my machine and succesfully run it.

I'm using a M2 Macbook running ollama 0.1.13

Originally created by @almonk on GitHub (Dec 5, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1390 Following the `Modelfile` tutorial in the readme, I can't get `ollama create` to work. My modelfile is as follows: ``` FROM codellama:13b-instruct SYSTEM """ You are Mario from super mario bros, acting as an assistant. """ ``` When I attempt to create from the modelfile, I get the following error: ``` transferring model data pulling model pulling manifest Error: pull model manifest: file does not exist ``` I have pulled the `codellama:13b-instruct` model to my machine and succesfully run it. I'm using a M2 Macbook running ollama `0.1.13`
GiteaMirror added the bug label 2026-05-03 10:16:55 -05:00
Author
Owner

@phalexo commented on GitHub (Dec 5, 2023):

I think "create" is used for models you have already downloaded, i.e. it is a file you specify, not model name.

otherwise you just do

ollama run codellama2

with whatever name gets listed with

ollama list

<!-- gh-comment-id:1841274691 --> @phalexo commented on GitHub (Dec 5, 2023): I think "create" is used for models you have already downloaded, i.e. it is a file you specify, not model name. otherwise you just do ollama run codellama2 with whatever name gets listed with ollama list
Author
Owner

@almonk commented on GitHub (Dec 5, 2023):

@phalexo the docs imply that you can reference a model in this way https://github.com/jmorganca/ollama#customize-a-prompt

<!-- gh-comment-id:1841285709 --> @almonk commented on GitHub (Dec 5, 2023): @phalexo the docs imply that you can reference a model in this way https://github.com/jmorganca/ollama#customize-a-prompt
Author
Owner

@mxyng commented on GitHub (Dec 5, 2023):

This is a bug. There appears to be a space in the FROM line so it's looking for codellama:13b-instruct<space>. As a workaround, removing the space should work as expected.

<!-- gh-comment-id:1841513073 --> @mxyng commented on GitHub (Dec 5, 2023): This is a bug. There appears to be a space in the FROM line so it's looking for `codellama:13b-instruct<space>`. As a workaround, removing the space should work as expected.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#62772