Just paste this gist link to your AI agent and ask to do.
LM Studio 0.4.x bundles older versions of mlx-vlm and mlx-lm that don't support Gemma 4. This guide upgrades both packages and removes a hardcoded block.
| LM Studio | MLX Engine | Bundled mlx-vlm | Bundled mlx-lm | Gemma 4 |
|---|---|---|---|---|
| 0.4.9 | 1.4.0 | 0.4.0 | 0.30.8 | ❌ |
| 0.4.11 | 1.5.0 | 0.4.0 | 0.31.2 | ❌ |