ollama - 💡(How to fix) Fix "error":"mlx runner failed: Error: failed to create server [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
ollama/ollama#15572Fetched 2026-04-16 06:36:12
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Author
Participants
Timeline (top)
labeled ×1

Error Message

{"error":"mlx runner failed: Error: failed to create server: failed to load image model: failed to load zimage model: text encoder: load weights: load model.layers.15.self_attn.q_proj.weight_qbias: failed to load safetensors: /root/public-storage/ollama/blobs/sha256-08648aed190bcdacb8fb525e8316198ce2dd40505fcec3b9fc1d77caa0f6cf04 (exit: exit status 1)"}

Code Example

{"error":"mlx runner failed: Error: failed to create server: failed to load image model: failed to load zimage model: text encoder: load weights: load model.layers.15.self_attn.q_proj.weight_qbias: failed to load safetensors: /root/public-storage/ollama/blobs/sha256-08648aed190bcdacb8fb525e8316198ce2dd40505fcec3b9fc1d77caa0f6cf04 (exit: exit status 1)"}
RAW_BUFFERClick to expand / collapse

What is the issue?

I've run this command via

root@d66k3hvhri0c73cg8en0-cufla:~/workspace# curl http://localhost:11434/api/generate -d '{ "model": "x/z-image-turbo:latest", "prompt": "a futuristic city in the style of klein blue, high resolution", "stream": false }'

Relevant log output

{"error":"mlx runner failed: Error: failed to create server: failed to load image model: failed to load zimage model: text encoder: load weights: load model.layers.15.self_attn.q_proj.weight_qbias: failed to load safetensors: /root/public-storage/ollama/blobs/sha256-08648aed190bcdacb8fb525e8316198ce2dd40505fcec3b9fc1d77caa0f6cf04 (exit: exit status 1)"}

OS

Linux

GPU

Nvidia Tesla

CPU

Intel

Ollama version

0.20.2

extent analysis

TL;DR

The issue is likely due to a failure in loading the model weights, and checking the file path and permissions of the model file /root/public-storage/ollama/blobs/sha256-08648aed190bcdacb8fb525e8316198ce2dd40505fcec3b9fc1d77caa0f6cf04 may resolve the issue.

Guidance

  • Verify that the file /root/public-storage/ollama/blobs/sha256-08648aed190bcdacb8fb525e8316198ce2dd40505fcec3b9fc1d77caa0f6cf04 exists and is accessible by the process running the command.
  • Check the file permissions and ownership to ensure that the process has read access to the file.
  • Confirm that the model file is not corrupted and can be loaded correctly by checking the file integrity and trying to load it manually.
  • Consider updating the Ollama version to a newer release, if available, to ensure that any known issues with model loading are addressed.

Example

No code snippet is provided as it is not necessary for this issue.

Notes

The issue seems to be related to the loading of model weights, and resolving the file access issue may fix the problem. However, without more information about the Ollama version and the model file, it is difficult to provide a more specific solution.

Recommendation

Apply workaround: Check and fix the file path and permissions of the model file, as this is the most likely cause of the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING