ollama - 💡(How to fix) Fix Error: 500 Internal Server Error: mlx runner failed: Error: MLX not available [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#15477Fetched 2026-04-11 06:12:38
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Participants
Timeline (top)
labeled ×1

Error Message

Error: 500 Internal Server Error: mlx runner failed: Error: MLX not available: failed to load MLX dynamic library (searched: [/opt/homebrew/Cellar/ollama/0.20.5/bin/lib/ollama /opt/homebrew/Cellar/ollama/0.20.5/bin /opt/homebrew/var/build/lib/ollama]) (exit: exit status 1) Error: 500 Internal Server Error: mlx runner failed: Error: MLX not available: failed to load MLX dynamic library (searched: [/opt/homebrew/Cellar/ollama/0.20.5/bin/lib/ollama /opt/homebrew/Cellar/ollama/0.20.5/bin /opt/homebrew/var/build/lib/ollama]) (exit: exit status 1)

RAW_BUFFERClick to expand / collapse

What is the issue?

can't load mxfp8 or nvfp4 any models run with mlx

~ % ollama run qwen3.5:9b-mxfp8 Error: 500 Internal Server Error: mlx runner failed: Error: MLX not available: failed to load MLX dynamic library (searched: [/opt/homebrew/Cellar/ollama/0.20.5/bin/lib/ollama /opt/homebrew/Cellar/ollama/0.20.5/bin /opt/homebrew/var/build/lib/ollama]) (exit: exit status 1) ~ % ollama run qwen3.5:9b-nvfp4 Error: 500 Internal Server Error: mlx runner failed: Error: MLX not available: failed to load MLX dynamic library (searched: [/opt/homebrew/Cellar/ollama/0.20.5/bin/lib/ollama /opt/homebrew/Cellar/ollama/0.20.5/bin /opt/homebrew/var/build/lib/ollama]) (exit: exit status 1)

Relevant log output

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.20.5

extent analysis

TL;DR

The issue is likely due to missing or incompatible MLX dynamic libraries, and a potential fix involves ensuring the correct installation and configuration of MLX libraries for the given models.

Guidance

  • Verify that the MLX dynamic libraries for mxfp8 and nvfp4 models are correctly installed and compatible with the Ollama version 0.20.5.
  • Check the search paths /opt/homebrew/Cellar/ollama/0.20.5/bin/lib/ollama, /opt/homebrew/Cellar/ollama/0.20.5/bin, and /opt/homebrew/var/build/lib/ollama for the presence of the required MLX libraries.
  • Consider reinstalling or updating Ollama to ensure that the MLX libraries are properly configured.
  • If using a specific GPU or CPU architecture, ensure that the MLX libraries are compatible with the Apple GPU and CPU.

Example

No specific code snippet is provided as the issue seems to be related to library installation and configuration rather than code.

Notes

The issue may be specific to the macOS environment and the Apple GPU and CPU architecture. Further investigation into the compatibility of MLX libraries with these components may be necessary.

Recommendation

Apply workaround: Reinstall or update Ollama to ensure correct MLX library configuration, as the current setup seems to be missing or incompatible with the required MLX dynamic libraries.

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

ollama - 💡(How to fix) Fix Error: 500 Internal Server Error: mlx runner failed: Error: MLX not available [1 participants]