Views
No views yet
google/gemma-4-12B @ 023679ed352de9bb66cc873c9009ce3482585c08 quantized pack, published as majentik/gemma-4-12B-TurboQuant-MLX-4bit.image-text-to-text capable: the vision and audio towers ship in BF16 alongside the quantized text tower, so image (and audio) inputs are supported end to end via mlx-vlm.generation_config.json carries suppress_tokens for six multimodal placeholder token ids so that transformers generation is clean. mlx-vlm does not honor suppress_tokens automatically, so text-only generation with mlx-vlm can leak placeholder tokens (observed as a degenerate A<image|>A<image|>... loop in smoke testing) unless you suppress them yourself:1from mlx_vlm import load, generate
2
3model, processor = load("majentik/gemma-4-12B-TurboQuant-MLX-4bit")
4suppress = {255999: -1e9, 256000: -1e9, 258880: -1e9, 258881: -1e9, 258882: -1e9, 258883: -1e9}
5output = generate(
6 model, processor, prompt,
7 max_tokens=256,
8 logit_bias=suppress,
9)