Downloads · 30 days
122
31% of all-time downloads
roman220220/gemma-4-26B-A4B-it-assistant-mlx-8bit
gemma-4-26B-A4B-it-assistant-mlx-8bit is a text generation model from roman220220. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
<p align="center" <img src="llmtray-banner.png" alt="LLMTray" width="100%" </p
Downloads · 30 days
122
31% of all-time downloads
All-time downloads
393
Public
Parameters
420M
480 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors446 MB · 93%
How the weights are stored.
U32420M · 100%
From the Hugging Face model README
▶ A speculative-decoding drafter for LLMTray
Not a standalone model — a small MTP draft head that speeds up the main Gemma 4 26B model. LLMTray (IPSupport's local AI app for Apple Silicon) pairs it with the main model automatically for faster local decoding.
Google's Multi-Token-Prediction drafter for Gemma 4 26B-A4B (google/gemma-4-26B-A4B-it-assistant), quantized to 8-bit (group 64) for MLX: 446MB (bf16: 840MB).
It is not a standalone model. It's a 4-layer head that reads the main model's final hidden state and its KV cache (last full- and last sliding-attention layer), guesses a few tokens ahead, and the main model verifies them all in one forward pass. Every emitted token is still the main model's own pick, so output quality is unchanged and decoding gets faster.
Needs the gemma4_assistant support from
ipsupport-llc/mlx-lm (branch
gemma4-mtp; stock mlx-lm doesn't have it yet):
mlx_lm.server \
--model roman220220/gemma-4-26B-A4B-it-gptq-mlx-jang \
--draft-model roman220220/gemma-4-26B-A4B-it-assistant-mlx-8bit \
--num-draft-tokens 3
Works with any Gemma 4 26B-A4B-it MLX checkpoint (it only shares the tokenizer and hidden size with the main model).
Main model roman220220/gemma-4-26B-A4B-it-gptq-mlx-jang
(4-bit JANG), Apple Silicon Mac with 26GB, greedy, num_draft_tokens=3:
| Prompt | plain | with drafter |
|---|---|---|
| short (37 tokens), 256 out | 35.8 tok/s | 52.9 tok/s (+48%) |
| 3.9k-token context, 300 out | 32.7 tok/s | 41.7 tok/s (+28%, k=2) |
About 70% of emitted tokens come from the drafter. Acceptance with the 8-bit drafter is the same as with bf16. The drafter was trained against the bf16 26B model, but acceptance on the 4-bit JANG quant is still high.
Image requests currently decode without the drafter (same output, no speed-up).
Local-first AI tools for macOS by IPSupport — nothing leaves your Mac.
LLMTray pairs this drafter with the main Gemma 4 model for faster local decoding.
Licensed under the Apache License 2.0, the same license as the base model — see LICENSE.
Modified from google/gemma-4-26B-A4B-it-assistant: quantized to 8-bit (group size 64) and converted to MLX. The weights and configuration files in this repo are therefore modified versions of the original, not the original files.
Gemma 4 is released by Google under Apache 2.0 (Gemma 4 license terms).