-
Gemma4 on MLX (#15244)
发布于
2026-04-13 23:36:51 +00:00 -
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
- Memoize the sliding-window prefill mask across layers.
- Softmax only over the selected experts in Router.Forward.
- review comments
下载附件
-