AutomatosX/AX-Gemma-4-26B-A4B-IT-MLX-QAT-4bit-Assistant-MTP

Model

AX Gemma 4 26B A4B IT MLX QAT 4-bit Assistant MTP

0

7 commits

1 linked in READMEs

updated Jul 23, 2026

See the code
4-bit
apple-silicon
assistant-model
automatosx
ax-engine
conversational
gemma4
image-text-to-text
mixture-of-experts
mlx-vlm
quantized
safetensors
speculative-decoding

README

AX Gemma 4 26B A4B IT MLX QAT 4-bit Assistant MTP

Parameter count: approximately 25.81B logical target parameters (the 26B-A4B model class), with approximately 4B active per token. 4-bit is the target quantization precision, not a 4B model-size claim. The separately packaged assistant is not included in the target count.

This is a self-contained MLX model package for Apple Silicon. It combines the quantization-aware-trained Gemma 4 26B-A4B instruction MoE target with its exact paired 4-bit assistant for AX Engine multi-token prediction (MTP) / speculative decoding.

The target verifies every drafted token. The assistant improves decode speed without replacing the target model. This repository does not contain PyTorch, GGUF, or the unquantized Google QAT weights.

Model details

  • Official QAT base: google/gemma-4-26B-A4B-it-qat-q4_0-unquantized
  • MLX target: mlx-community/gemma-4-26B-A4B-it-qat-4bit, revision 0e3cbab38ce568cf6e23543010d08d03b731910c
  • MLX assistant: mlx-community/gemma-4-26B-A4B-it-qat-assistant-4bit, revision bb94eae1b70a80dac16cbf959bb4b7d56bd1fb8c
  • Architecture: 26B total-parameter, approximately 4B active-parameter MoE
  • Format: MLX Safetensors target plus an AX Engine assistant subtree
  • Target quantization: 4-bit affine, group size 64; FFN and router projections retain 8-bit overrides
  • Assistant quantization: 4-bit affine, group size 64
  • Configured target context length: 262,144 tokens
  • MTP pairing: exact
  • Maximum packaged draft depth: 1
  • Intended hardware: Apple Silicon

QAT means that the upstream checkpoint was optimized during training for its target quantization scheme before the MLX conversion. It is distinct from a post-training-only 4-bit conversion.

Download

hf download AutomatosX/AX-Gemma-4-26B-A4B-IT-MLX-QAT-4bit-Assistant-MTP \
  --local-dir ./AX-Gemma-4-26B-A4B-IT-MLX-QAT-4bit-Assistant-MTP

The repository is approximately 15.9 GB.

Use with AX Engine MTP

Install AX Engine, then serve the downloaded repository directory:

ax-engine serve ./AX-Gemma-4-26B-A4B-IT-MLX-QAT-4bit-Assistant-MTP --port 31418

Gemma assistant MTP is enabled by default. AX Engine reads ax_gemma4_assistant_mtp.json, loads the drafter from assistant/, and uses the 26B-A4B target to verify proposals. Do not load assistant/ by itself as a general-purpose chat model.

The root target weights can also be loaded for direct MLX generation, but the nested assistant pairing and acceleration are AX Engine-specific.

Validation and provenance

Validated on macOS arm64 with AX Engine 6.9.0 on 2026-07-20:

  • AX native artifact validation: ready, with no issues
  • All target weight shards: byte-exact against the pinned MLX target source
  • Assistant weight: byte-exact against the pinned MLX assistant source
  • Assistant and target tokenizer: byte-identical inside the package
  • Pairing contract: exact
  • Canonical chat template: pinned from Google Gemma 4 and applied to target and assistant

See ax_provenance.json for immutable source revisions and SHA-256 values.

License

Apache License 2.0. Review the Gemma 4 license and the official Google model cards for usage limitations and responsible-use guidance.

Contributors

AutomatosX

7 commits

AutomatosX/AX-Gemma-4-26B-A4B-IT-MLX-QAT-4bit-Assistant-MTP

Model

AX Gemma 4 26B A4B IT MLX QAT 4-bit Assistant MTP

0

7 commits

1 linked in READMEs

updated Jul 23, 2026

See the code
4-bit
apple-silicon
assistant-model
automatosx
ax-engine
conversational
gemma4
image-text-to-text
mixture-of-experts
mlx-vlm
quantized
safetensors
speculative-decoding

README

AX Gemma 4 26B A4B IT MLX QAT 4-bit Assistant MTP

Parameter count: approximately 25.81B logical target parameters (the 26B-A4B model class), with approximately 4B active per token. 4-bit is the target quantization precision, not a 4B model-size claim. The separately packaged assistant is not included in the target count.

This is a self-contained MLX model package for Apple Silicon. It combines the quantization-aware-trained Gemma 4 26B-A4B instruction MoE target with its exact paired 4-bit assistant for AX Engine multi-token prediction (MTP) / speculative decoding.

The target verifies every drafted token. The assistant improves decode speed without replacing the target model. This repository does not contain PyTorch, GGUF, or the unquantized Google QAT weights.

Model details

  • Official QAT base: google/gemma-4-26B-A4B-it-qat-q4_0-unquantized
  • MLX target: mlx-community/gemma-4-26B-A4B-it-qat-4bit, revision 0e3cbab38ce568cf6e23543010d08d03b731910c
  • MLX assistant: mlx-community/gemma-4-26B-A4B-it-qat-assistant-4bit, revision bb94eae1b70a80dac16cbf959bb4b7d56bd1fb8c
  • Architecture: 26B total-parameter, approximately 4B active-parameter MoE
  • Format: MLX Safetensors target plus an AX Engine assistant subtree
  • Target quantization: 4-bit affine, group size 64; FFN and router projections retain 8-bit overrides
  • Assistant quantization: 4-bit affine, group size 64
  • Configured target context length: 262,144 tokens
  • MTP pairing: exact
  • Maximum packaged draft depth: 1
  • Intended hardware: Apple Silicon

QAT means that the upstream checkpoint was optimized during training for its target quantization scheme before the MLX conversion. It is distinct from a post-training-only 4-bit conversion.

Download

hf download AutomatosX/AX-Gemma-4-26B-A4B-IT-MLX-QAT-4bit-Assistant-MTP \
  --local-dir ./AX-Gemma-4-26B-A4B-IT-MLX-QAT-4bit-Assistant-MTP

The repository is approximately 15.9 GB.

Use with AX Engine MTP

Install AX Engine, then serve the downloaded repository directory:

ax-engine serve ./AX-Gemma-4-26B-A4B-IT-MLX-QAT-4bit-Assistant-MTP --port 31418

Gemma assistant MTP is enabled by default. AX Engine reads ax_gemma4_assistant_mtp.json, loads the drafter from assistant/, and uses the 26B-A4B target to verify proposals. Do not load assistant/ by itself as a general-purpose chat model.

The root target weights can also be loaded for direct MLX generation, but the nested assistant pairing and acceleration are AX Engine-specific.

Validation and provenance

Validated on macOS arm64 with AX Engine 6.9.0 on 2026-07-20:

  • AX native artifact validation: ready, with no issues
  • All target weight shards: byte-exact against the pinned MLX target source
  • Assistant weight: byte-exact against the pinned MLX assistant source
  • Assistant and target tokenizer: byte-identical inside the package
  • Pairing contract: exact
  • Canonical chat template: pinned from Google Gemma 4 and applied to target and assistant

See ax_provenance.json for immutable source revisions and SHA-256 values.

License

Apache License 2.0. Review the Gemma 4 license and the official Google model cards for usage limitations and responsible-use guidance.

Contributors

AutomatosX

7 commits