Downloads · 30 days
274
4% of all-time downloads
aidendle94/diffusiongemma-26B-A4B-it-INT8-dynamic
diffusiongemma-26B-A4B-it-INT8-dynamic is a text generation model from aidendle94. Use it when you need the model to write or continue text. The card lists the license as gemma.
INT8 weight + activation quantization of google/diffusiongemma-26B-A4B-it, Google's block-diffusion language model (dLLM) built on the Gemma 4 26B-A4B MoE backbone.
Downloads · 30 days
274
4% of all-time downloads
All-time downloads
7K
Public
Parameters
25.8B
27.2 GB on disk
Likes
4
Public
Click a slice to open those files.
.safetensors27.2 GB · 100%
How the weights are stored.
I824.5B · 95%
From the Hugging Face model README
INT8 weight + activation quantization of google/diffusiongemma-26B-A4B-it, Google's block-diffusion language model (dLLM) built on the Gemma 4 26B-A4B MoE backbone.
Why INT8 instead of FP8? The existing FP8-dynamic quantization requires Hopper/Ada GPUs: on Ampere (sm_86, e.g. RTX 3090), vLLM's Marlin FP8 MoE kernel cannot tile this model's expert shape (K=352) within Ampere's 99 KB shared memory (Invalid thread config), and the Triton FP8 MoE backend rejects the per-channel × per-token scheme. INT8 W8A8 routes through vLLM's Triton Int8 MoE backend, which runs on Ampere and newer — this checkpoint serves on 2× RTX 3090.
memoryless_minmax)compressed-tensors, int-quantizedlm_head (tied), embeddings, MoE routers, vision tower, self-conditioning — same ignore list as the FP8-dynamic releaseQuantization was performed by direct streaming RTN over the base safetensors (one shard at a time, CPU-only). Note for reproducers: the base checkpoint stores MoE experts fused (experts.gate_up_proj [E, 2I, H], experts.down_proj [E, H, I]); this release splits them into per-expert gate_proj/up_proj/down_proj Linears so compressed-tensors/vLLM load them with targets: [Linear]. (llm-compressor oneshot with transformers ≥ 5.11 silently skips the fused 3-D expert tensors — 88% of parameters — producing a barely-compressed model.)
Fidelity vs base weights: relative reconstruction error < 1.2%, cosine similarity ≈ 0.99996 (experts and dense layers). Spot-checked outputs match base-model behavior, including its quirks (see below).
Requires a vLLM build with DiffusionGemma support (the vllm/vllm-openai:gemma image / diffusion branch; mainline ≤ 0.14-nightly does not include it).
vllm serve <this-repo> \
--trust-remote-code \
--max-num-seqs 4 \
--hf-overrides '{"diffusion_sampler": "entropy_bound", "diffusion_entropy_bound": 0.1}' \
--override-generation-config '{"max_new_tokens": 8192}' \
--enable-auto-tool-choice \
--reasoning-parser gemma4 \
--tool-call-parser gemma4 \
--default-chat-template-kwargs '{"enable_thinking": true}'
Optional faster decoding (~3× over the 48-step default, minor quality trade):
--diffusion-config '{"canvas_length": 256, "max_denoising_steps": 16}' \
--hf-overrides '{"diffusion_sampler": "entropy_bound", "diffusion_entropy_bound": 0.1, "diffusion_confidence_threshold": 0.0}'
max_new_tokens is 256 (from generation_config.json). With thinking enabled, reasoning will consume the whole budget and content comes back empty/truncated for clients that don't set max_tokens (e.g. OpenWebUI). Strongly recommended: --override-generation-config '{"max_new_tokens": 8192}' as above.--reasoning-parser gemma4, parsed chain-of-thought is returned in message.reasoning (not reasoning_content) on current diffusion-branch builds.chat_template.jinja as-is. The model self-emits <|channel>thought ... <channel|> delimiters; pre-opening the channel in a custom template suppresses them.--gpu-memory-utilization headroom accordingly (e.g. 24 GB cards: ≈0.75 at --max-num-seqs 4).probs @ embed_weight) and its prompt-logprobs path; TP > 1 requires small patches until fixed upstream (all-reduce of vocab-sharded partials; disable prompt-logprobs). Single-GPU (≥ 32 GB) needs no patches. On PCIe-linked consumer cards also pass --disable-custom-all-reduce.max_tokens ≥ 1024 for thinking-enabled requests.Gemma. This is a derivative (quantized) version of google/diffusiongemma-26B-A4B-it; use is subject to the Gemma Terms of Use.