[GH-ISSUE #9157] Model Creation seems still doesn't work #5959

Closed
opened 2026-04-12 17:18:35 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @versus666jzx on GitHub (Feb 16, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9157

What is the issue?

#8427 - this is still relevant

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

from 0.5.7

Originally created by @versus666jzx on GitHub (Feb 16, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9157 ### What is the issue? #8427 - this is still relevant ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version from 0.5.7
GiteaMirror added the bug label 2026-04-12 17:18:35 -05:00
Author
Owner

@rick-github commented on GitHub (Feb 16, 2025):

An example would be helpful in debugging.

<!-- gh-comment-id:2661652672 --> @rick-github commented on GitHub (Feb 16, 2025): An example would be helpful in debugging.
Author
Owner

@osbm commented on GitHub (Mar 2, 2025):

i have this simple model file

FROM llama3

and it says this

$ ollama list
NAME                ID              SIZE      MODIFIED
llama3:latest       365c0bd3c000    4.7 GB    6 seconds ago
deepseek-r1:14b     ea35dfe18182    9.0 GB    41 minutes ago
deepseek-r1:7b      0a8c26691023    4.7 GB    41 minutes ago
llama3.2:latest     a80c4f17acd5    2.0 GB    26 hours ago
deepseek-r1:1.5b    a42b25d8c10a    1.1 GB    12 days ago
$ ollama create .
gathering model components
Error: invalid model name
$
<!-- gh-comment-id:2692719843 --> @osbm commented on GitHub (Mar 2, 2025): i have this simple model file ``` FROM llama3 ``` and it says this ``` $ ollama list NAME ID SIZE MODIFIED llama3:latest 365c0bd3c000 4.7 GB 6 seconds ago deepseek-r1:14b ea35dfe18182 9.0 GB 41 minutes ago deepseek-r1:7b 0a8c26691023 4.7 GB 41 minutes ago llama3.2:latest a80c4f17acd5 2.0 GB 26 hours ago deepseek-r1:1.5b a42b25d8c10a 1.1 GB 12 days ago $ ollama create . gathering model components Error: invalid model name $ ```
Author
Owner

@rick-github commented on GitHub (Mar 2, 2025):

You can't call a model ".". Try:

ollama create my-new-llama3-model
<!-- gh-comment-id:2692808618 --> @rick-github commented on GitHub (Mar 2, 2025): You can't call a model ".". Try: ``` ollama create my-new-llama3-model ```
Author
Owner

@osbm commented on GitHub (Mar 2, 2025):

You are so right. Thanks a lot. I thought i was inserting the path and the cli was rejecting the FROM statement.

<!-- gh-comment-id:2692859647 --> @osbm commented on GitHub (Mar 2, 2025): You are so right. Thanks a lot. I thought i was inserting the path and the cli was rejecting the `FROM` statement.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#5959