[GH-ISSUE #10180] ollama run phi4-mini error #32439

Closed
opened 2026-04-22 13:43:51 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @luckycv on GitHub (Apr 8, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10180

What is the issue?

Error: llama runner process has terminated: error loading model: missing tensor 'output.weight'
llama_load_model_from_file: failed to load model

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @luckycv on GitHub (Apr 8, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10180 ### What is the issue? Error: llama runner process has terminated: error loading model: missing tensor 'output.weight' llama_load_model_from_file: failed to load model ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the needs more infobug labels 2026-04-22 13:43:52 -05:00
Author
Owner

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

Did you get the model from the ollama library?

<!-- gh-comment-id:2786662897 --> @rick-github commented on GitHub (Apr 8, 2025): Did you get the model from the [ollama library](https://ollama.com/library/phi4)?
Author
Owner

@luckycv commented on GitHub (Apr 9, 2025):

ollama pull phi4-mini
pulling manifest
pulling 3c168af1dea0... 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 2.5 GB
pulling 813f53fdc6e5... 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 655 B
pulling fa8235e5b48f... 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 1.1 KB
pulling 8c2539a423c4... 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 411 B
verifying sha256 digest
writing manifest
success

<!-- gh-comment-id:2788138511 --> @luckycv commented on GitHub (Apr 9, 2025): ollama pull phi4-mini pulling manifest pulling 3c168af1dea0... 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 2.5 GB pulling 813f53fdc6e5... 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 655 B pulling fa8235e5b48f... 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 1.1 KB pulling 8c2539a423c4... 100% ▕███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ 411 B verifying sha256 digest writing manifest success
Author
Owner

@luckycv commented on GitHub (Apr 9, 2025):

It is obvious that a file is missing.

<!-- gh-comment-id:2788139695 --> @luckycv commented on GitHub (Apr 9, 2025): It is obvious that a file is missing.
Author
Owner

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

Upgrade ollama. phi4-mini needs 0.5.13+.

<!-- gh-comment-id:2788639887 --> @rick-github commented on GitHub (Apr 9, 2025): [Upgrade](https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-upgrade-ollama) ollama. phi4-mini needs 0.5.13+.
Author
Owner

@luckycv commented on GitHub (Apr 12, 2025):

@rick-github ollama version is 0.6.5 now.

<!-- gh-comment-id:2798812315 --> @luckycv commented on GitHub (Apr 12, 2025): @rick-github ollama version is 0.6.5 now.
Author
Owner

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

ollama -v
ollama run phi4-mini hello
<!-- gh-comment-id:2798813643 --> @rick-github commented on GitHub (Apr 12, 2025): ``` ollama -v ollama run phi4-mini hello ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#32439