Instructions to use Z3NN001/gemma4-21b-reap-mlx-BF8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Z3NN001/gemma4-21b-reap-mlx-BF8 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download Z3NN001/gemma4-21b-reap-mlx-BF8 --local-dir gemma4-21b-reap-mlx-BF8
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Gemma-4-21B-A4B-it-REAP (MLX bfloat8)
This is a high-fidelity 8-bit (bfloat8) conversion of 0xSero/gemma-4-21b-a4b-it-REAP optimized for Apple Silicon using the MLX framework.
Model Highlights
- Architecture: Gemma 4 Multimodal with Active Blocks (A4B).
- Optimization: REAP (Reasoning Enhancement and Active Pruning) for enhanced vision-language reasoning.
- Precision:
bfloat8(High-efficiency quantization). - Size: ~21 GB (Recommended for Macs with 24GB-32GB RAM).
Conversion Details
The model was converted locally to ensure bit-perfect compatibility with the MLX ecosystem.
- Hardware: Mac Mini (M4) with 32GB RAM.
- Library:
mlx-vlmusing-q --q-bits 8. - Format: Native MLX safetensors.
Usage
Installation
pip install mlx-vlm
Credits
Original Model: 0xSero/gemma-4-21b-a4b-it-REAP
MLX Conversion: Z3NN001
Model tree for Z3NN001/gemma4-21b-reap-mlx-BF8
Base model
0xSero/Gemma-4-21B