ollama - 💡(How to fix) Fix Loading gemma4:26b-nvfp4 raises "Error: 500: mlx runner failed: Error: unsupported architecture: Gemma4ForConditionalGeneration" [3 comments, 4 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#15579Fetched 2026-04-16 06:36:01
View on GitHub
Comments
3
Participants
4
Timeline
4
Reactions
0
Author
Timeline (top)
commented ×3labeled ×1

Error Message

Error: 500 Internal Server Error: mlx runner failed: Error: unsupported architecture: Gemma4ForConditionalGeneration (exit: exit status 1)

RAW_BUFFERClick to expand / collapse

What is the issue?

Running gemma4:26b-nvfp4 on my MacBook M3 raises

Error: 500 Internal Server Error: mlx runner failed: Error: unsupported architecture: Gemma4ForConditionalGeneration (exit: exit status 1)

although running the model qwen3.5:9b-nvfp4 has no issue.

Relevant log output

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

0.20.7

extent analysis

TL;DR

The issue is likely due to the Gemma4ForConditionalGeneration model not being compatible with the Apple M3 architecture, and a workaround may involve using a different model or version.

Guidance

  • The error message "unsupported architecture" suggests that the Gemma4ForConditionalGeneration model is not compatible with the Apple M3 chip, which is used in the MacBook.
  • Try running the model on a different device or environment that supports the required architecture.
  • Compare the compatibility requirements of the Gemma4ForConditionalGeneration model with the qwen3.5 model, which is reported to work without issues.
  • Check the Ollama version 0.20.7 documentation to see if there are any known issues or workarounds for running models on Apple M3 devices.

Notes

The issue may be specific to the combination of the Gemma4ForConditionalGeneration model, Ollama version 0.20.7, and the Apple M3 architecture, and more information may be needed to determine a definitive solution.

Recommendation

Apply workaround: Try using a different model or version that is compatible with the Apple M3 architecture, as the error message suggests that the current model is not supported.

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