Image-Text-to-Text
MLX
Safetensors
gemma4
turboquant
kv-cache-quantization
gemma
multimodal
quantized
2bit
2-bit
Instructions to use majentik/gemma-4-E2B-TurboQuant-MLX-2bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use majentik/gemma-4-E2B-TurboQuant-MLX-2bit with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("majentik/gemma-4-E2B-TurboQuant-MLX-2bit") config = load_config("majentik/gemma-4-E2B-TurboQuant-MLX-2bit") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Commit History
-
Remove links to retired duplicate brand variants
Verified signature32f3838
-
Fix quantization metadata: top-level bits 2 (matches tensor data)
Verified signature8d471a9
-
Card accuracy sweep: honest brand labeling, remove dead links, upstream KV tip
Verified signatureb057e36 -
Remove links to retired card-only KV-docs repos
Verified signature9f09d6f
-
docs: upstream-first KV-cache guidance (q8_0/q4_0, mainline Hadamard rotation); fork demoted to experimental
Verified signature5ee4476
-
docs: remove AWQ variants from family table (AWQ lane paused, repos private)
Verified signaturea1573d8
-
fix: family model links majentik/gemma4-* -> majentik/gemma-4-* (reported by @shramee in gemma-4-31B-TurboQuant-MLX-4bit#1)
Verified signatured264610
-
docs: Tier 2 polish — variant matrix + quant trade-off
Verified signature91ee878
-
chore(card): enrich YAML frontmatter (pipeline_tag, language, library_name, inference)
Verified signaturef6b5385
-
Add MLX quantized model with KV cache compression
Verified signature0645691 -
initial commit
Verified signature5f35f00