[GH-ISSUE #506] Loading a model from a file for embeddings not found #235

Closed
opened 2026-04-12 09:45:22 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @BruceMacD on GitHub (Sep 11, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/506

Add an embeded text file to a modelfile with a model from a file may error:

creating parameter layer  Error: unexpected error opening model to generate embeddings: stat /Users/username/.ollama/models/manifests/registry.ollama.ai/library/latest: no such file or directory
Originally created by @BruceMacD on GitHub (Sep 11, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/506 Add an embeded text file to a modelfile with a model from a file may error: ``` creating parameter layer Error: unexpected error opening model to generate embeddings: stat /Users/username/.ollama/models/manifests/registry.ollama.ai/library/latest: no such file or directory ```
GiteaMirror added the bug label 2026-04-12 09:45:22 -05:00
Author
Owner

@antonio-castellon commented on GitHub (Oct 10, 2023):

I have the same problem running the ollama serve, and by default is not open to 0.0.0.0, apparently only to localhost is accessible.

<!-- gh-comment-id:1755372770 --> @antonio-castellon commented on GitHub (Oct 10, 2023): I have the same problem running the ollama serve, and by default is not open to 0.0.0.0, apparently only to localhost is accessible.
Author
Owner

@suoko commented on GitHub (Oct 11, 2023):

Add an embeded text file to a modelfile with a model from a file may error:

creating parameter layer  Error: unexpected error opening model to generate embeddings: stat /Users/username/.ollama/models/manifests/registry.ollama.ai/library/latest: no such file or directory

Can I ask you what you're trying to do ? You want to pass a text file to the model so that you can ask questions about that text file ?
If yes, can I ask you how you're doing it ?

<!-- gh-comment-id:1757329044 --> @suoko commented on GitHub (Oct 11, 2023): > Add an embeded text file to a modelfile with a model from a file may error: > > ``` > creating parameter layer Error: unexpected error opening model to generate embeddings: stat /Users/username/.ollama/models/manifests/registry.ollama.ai/library/latest: no such file or directory > ``` Can I ask you what you're trying to do ? You want to pass a text file to the model so that you can ask questions about that text file ? If yes, can I ask you how you're doing it ?
Author
Owner

@antonio-castellon commented on GitHub (Oct 11, 2023):

I just relaunched the server and I'm able to send all request without issue at all

<!-- gh-comment-id:1757399898 --> @antonio-castellon commented on GitHub (Oct 11, 2023): I just relaunched the server and I'm able to send all request without issue at all
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#235