ollama/x
Daniel Hiltgen 2cba7756c5
Gemma4 on MLX (#15244)
* gemma4: implement Gemma 4 model for MLX (text-only runtime)

* gemma4: two MoE + SWA prefill perf fixes

Two performance optimizations in the gemma4 forward pass

1. Memoize the sliding-window prefill mask across layers.
2. Softmax only over the selected experts in Router.Forward.

* review comments
2026-04-13 16:36:51 -07:00
..
agent x/cmd: enable web search and web fetch with flag (#13690) 2026-01-12 13:59:40 -08:00
cmd Reapply "don't require pulling stubs for cloud models" again (#14608) 2026-03-06 14:27:47 -08:00
create Gemma4 on MLX (#15244) 2026-04-13 16:36:51 -07:00
imagegen pull/push: refine safetensors (#14946) 2026-04-08 14:15:39 -07:00
mlxrunner Gemma4 on MLX (#15244) 2026-04-13 16:36:51 -07:00
models Gemma4 on MLX (#15244) 2026-04-13 16:36:51 -07:00
safetensors create: Clean up experimental paths, fix create from existing safetensor model (#14679) 2026-04-07 08:12:57 -07:00
server mlx: fix vision capability + min version (#15106) 2026-03-27 17:09:28 -07:00
tokenizer mlx: quantized embeddings, fast SwiGLU, and runtime fixes (#14884) 2026-03-17 11:21:38 -07:00
tools add ability to disable cloud (#14221) 2026-02-12 15:47:00 -08:00