TelperionAI/Qwen3.8-27B-GLA-g2-INT4

Model

Qwen3.8-27B-GLA-g2-INT4

0

3 commits

1 linked in READMEs

updated Oct 7, 2026

See the code

README

Qwen3.8-27B-GLA-g2-INT4

INT4 (AWQ + GPTQ) build of Qwen3.8-27B-GLA-g2, the training-free Grouped Latent Attention with 2 groups (GLA-g2) retrofit of Qwen3.8-27B: 22.9 GB instead of 55.7 GB, with a calibrated FP8 KV cache by default. The most faithful 4-bit build of the family.

Serving: this checkpoint uses a custom attention architecture. It runs in vLLM with the qwen-mla-vllm plugin (experimental). It does not load in transformers or stock vLLM. Includes the base model's vision tower and MTP head.

Serving (vLLM plugin, experimental)

pip install "git+https://github.com/sootaugur/qwen-mla-vllm"      # installs vllm==0.27.1
vllm serve TelperionAI/Qwen3.8-27B-GLA-g2-INT4 --tensor-parallel-size 2 --reasoning-parser qwen3

On PCIe-only GPUs (no NVLink, e.g. RTX PRO or GeForce), add --disable-custom-all-reduce at TP=2.

Images work as with the base model; for text-only serving add --limit-mm-per-prompt '{"image": 0, "video": 0}'. The KV cache is FP8 by default (calibrated per layer on this model); --kv-cache-dtype bfloat16 switches to bf16.

MTP speculative decoding (optional)*. The MTP head is included; enable it with --speculative-config '{"method": "mtp", "num_speculative_tokens": 3}'. *On an RTX PRO 6000 (TP=1, FP8 KV) it did not speed this build up: 59 / 279 tok/s at 1 / 8 concurrent requests without MTP, 42 / 258 with k=1, 56 / 317 with k=3. The quantized weights are already cheap to read there, and each verify step has a fixed cost on the FP8-cache path. On GPUs with less memory bandwidth weight reads dominate, so MTP is likely to help; measure it on your hardware.

The plugin is experimental: verified on RTX PRO 6000 (Blackwell) at TP=1 and TP=2 with vLLM 0.27.1, with little real-world use so far. FP8-cache decode runs on the plugin's Triton kernels.

What this is

The model is Qwen3.8-27B-GLA-g2: see its card for the method, calibration data and results. Only the storage format changes here.

  • Format: compressed-tensors. MLPs of layers 0-55 and the linear-attention projections: INT4, group 32, asymmetric (AWQ smoothing + GPTQ). Attention q_proj / o_proj and the MLPs of layers 56-63: INT8, group 128, symmetric. Weight-only; activations stay bf16.
  • Kept in bf16: the latent projections (kv_a_proj, k_up_proj, v_up_proj, k_rope_proj, and the kv_b_proj the plugin builds from them at load time), the linear-attention in_proj_a / in_proj_b and norms, embeddings, lm_head, the vision tower and the MTP head.
  • KV cache: FP8 by default, with per-layer scales calibrated on this model (absmax over a 3.7M-token corpus); config mla_kv_cache_scales.

How it was built. The retrofit differs from Qwen3.8-27B only in its 16 full-attention layers, so it was grafted onto TelperionAI/Qwen3.8-27B-INT4-AWQ-GPTQ-gdn4, a quantized build of the base model:

  • every quantized tensor of the MLPs, linear attention, o_proj (byte-identical in the retrofit) and the MTP head is reused unchanged;
  • q_proj is reused unpermuted: the retrofit's q_proj is exactly the base q_proj with a fixed rope permutation of its query rows (verified bit-exact), so the plugin applies that permutation to the query at runtime (config mla_q_proj_base_layout) -- exact, and cheap;
  • the latent projections and attention norms are the retrofit's bf16 tensors.

The reused tensors were calibrated on the base model's activations rather than the retrofit's.

The family

Two retrofits of Qwen3.8-27B, each in four weight formats. All keep the vision tower and MTP head, and all ship calibrated FP8 KV-cache scales.

weightsMLA (1 GPU)GLA-g2 (2 GPUs)sizeKV cache default
bf16Qwen3.8-27B-MLAQwen3.8-27B-GLA-g255.7 GBbf16 (FP8 opt-in)
FP8-MLA-FP8-GLA-g2-FP831.5 GBFP8
INT4 (AWQ+GPTQ)-MLA-INT4-GLA-g2-INT422.9 GBFP8
EXL3 4.0 bpw-MLA-EXL3-4.0bpw-GLA-g2-EXL3-4.0bpw17.2 GBFP8

Fidelity to the bf16 base model, teacher-forced on 562k held-out positions: top-1 disagreement where the base model is confident (top-1 vs top-2 logprob margin 2-5; lower is closer). Quantized builds measured with their default FP8 KV cache.

bf16FP8INT4EXL3 4.0 bpw
base model's own quantized builds-0.76%0.59%0.59%
MLA1.09%1.15%1.26%1.56%
GLA-g22.47%3.16%2.86%3.62%

FP8 KV on the bf16 retrofits measured identical (1.09% / 2.47%); its effect is within run-to-run noise.

Capacity, full 262k-token sequences that fit at once (RTX PRO 6000, 96 GB, default settings with vision on, no MTP). Base model, bf16: 1.9 on one GPU.

bf16bf16 + FP8 KVFP8INT4EXL3
MLA, 1 GPU3.77.312.714.515.6
GLA-g2, 2 GPUs (TP=2)13.726.931.733.934.9

Limitations

  • Serving requires the experimental vLLM plugin (vLLM 0.27.1 only, for now).
  • Not yet benchmarked on downstream tasks (SWE-bench, HELMET); the fidelity measurement above is the evidence so far. A rebench of the quantized family is planned.
  • Results are from one harness. Absolute scores differ across harnesses.

License and attribution

Released under Apache-2.0, the license of the base model. Derived from Qwen/Qwen3.8-27B by the Qwen team. This is an independent project, not affiliated with or endorsed by the Qwen team.

compressed-tensors
conversational
gptq
grouped-latent-attention
int4
kv-cache-compression
long-context
qwen3
qwen3_5
safetensors
text-generation

TelperionAI/Qwen3.8-27B-GLA-g2-INT4

Model

Qwen3.8-27B-GLA-g2-INT4

0

3 commits

1 linked in READMEs

updated Oct 7, 2026

See the code

README

Qwen3.8-27B-GLA-g2-INT4

INT4 (AWQ + GPTQ) build of Qwen3.8-27B-GLA-g2, the training-free Grouped Latent Attention with 2 groups (GLA-g2) retrofit of Qwen3.8-27B: 22.9 GB instead of 55.7 GB, with a calibrated FP8 KV cache by default. The most faithful 4-bit build of the family.

Serving: this checkpoint uses a custom attention architecture. It runs in vLLM with the qwen-mla-vllm plugin (experimental). It does not load in transformers or stock vLLM. Includes the base model's vision tower and MTP head.

Serving (vLLM plugin, experimental)

pip install "git+https://github.com/sootaugur/qwen-mla-vllm"      # installs vllm==0.27.1
vllm serve TelperionAI/Qwen3.8-27B-GLA-g2-INT4 --tensor-parallel-size 2 --reasoning-parser qwen3

On PCIe-only GPUs (no NVLink, e.g. RTX PRO or GeForce), add --disable-custom-all-reduce at TP=2.

Images work as with the base model; for text-only serving add --limit-mm-per-prompt '{"image": 0, "video": 0}'. The KV cache is FP8 by default (calibrated per layer on this model); --kv-cache-dtype bfloat16 switches to bf16.

MTP speculative decoding (optional)*. The MTP head is included; enable it with --speculative-config '{"method": "mtp", "num_speculative_tokens": 3}'. *On an RTX PRO 6000 (TP=1, FP8 KV) it did not speed this build up: 59 / 279 tok/s at 1 / 8 concurrent requests without MTP, 42 / 258 with k=1, 56 / 317 with k=3. The quantized weights are already cheap to read there, and each verify step has a fixed cost on the FP8-cache path. On GPUs with less memory bandwidth weight reads dominate, so MTP is likely to help; measure it on your hardware.

The plugin is experimental: verified on RTX PRO 6000 (Blackwell) at TP=1 and TP=2 with vLLM 0.27.1, with little real-world use so far. FP8-cache decode runs on the plugin's Triton kernels.

What this is

The model is Qwen3.8-27B-GLA-g2: see its card for the method, calibration data and results. Only the storage format changes here.

  • Format: compressed-tensors. MLPs of layers 0-55 and the linear-attention projections: INT4, group 32, asymmetric (AWQ smoothing + GPTQ). Attention q_proj / o_proj and the MLPs of layers 56-63: INT8, group 128, symmetric. Weight-only; activations stay bf16.
  • Kept in bf16: the latent projections (kv_a_proj, k_up_proj, v_up_proj, k_rope_proj, and the kv_b_proj the plugin builds from them at load time), the linear-attention in_proj_a / in_proj_b and norms, embeddings, lm_head, the vision tower and the MTP head.
  • KV cache: FP8 by default, with per-layer scales calibrated on this model (absmax over a 3.7M-token corpus); config mla_kv_cache_scales.

How it was built. The retrofit differs from Qwen3.8-27B only in its 16 full-attention layers, so it was grafted onto TelperionAI/Qwen3.8-27B-INT4-AWQ-GPTQ-gdn4, a quantized build of the base model:

  • every quantized tensor of the MLPs, linear attention, o_proj (byte-identical in the retrofit) and the MTP head is reused unchanged;
  • q_proj is reused unpermuted: the retrofit's q_proj is exactly the base q_proj with a fixed rope permutation of its query rows (verified bit-exact), so the plugin applies that permutation to the query at runtime (config mla_q_proj_base_layout) -- exact, and cheap;
  • the latent projections and attention norms are the retrofit's bf16 tensors.

The reused tensors were calibrated on the base model's activations rather than the retrofit's.

The family

Two retrofits of Qwen3.8-27B, each in four weight formats. All keep the vision tower and MTP head, and all ship calibrated FP8 KV-cache scales.

weightsMLA (1 GPU)GLA-g2 (2 GPUs)sizeKV cache default
bf16Qwen3.8-27B-MLAQwen3.8-27B-GLA-g255.7 GBbf16 (FP8 opt-in)
FP8-MLA-FP8-GLA-g2-FP831.5 GBFP8
INT4 (AWQ+GPTQ)-MLA-INT4-GLA-g2-INT422.9 GBFP8
EXL3 4.0 bpw-MLA-EXL3-4.0bpw-GLA-g2-EXL3-4.0bpw17.2 GBFP8

Fidelity to the bf16 base model, teacher-forced on 562k held-out positions: top-1 disagreement where the base model is confident (top-1 vs top-2 logprob margin 2-5; lower is closer). Quantized builds measured with their default FP8 KV cache.

bf16FP8INT4EXL3 4.0 bpw
base model's own quantized builds-0.76%0.59%0.59%
MLA1.09%1.15%1.26%1.56%
GLA-g22.47%3.16%2.86%3.62%

FP8 KV on the bf16 retrofits measured identical (1.09% / 2.47%); its effect is within run-to-run noise.

Capacity, full 262k-token sequences that fit at once (RTX PRO 6000, 96 GB, default settings with vision on, no MTP). Base model, bf16: 1.9 on one GPU.

bf16bf16 + FP8 KVFP8INT4EXL3
MLA, 1 GPU3.77.312.714.515.6
GLA-g2, 2 GPUs (TP=2)13.726.931.733.934.9

Limitations

  • Serving requires the experimental vLLM plugin (vLLM 0.27.1 only, for now).
  • Not yet benchmarked on downstream tasks (SWE-bench, HELMET); the fidelity measurement above is the evidence so far. A rebench of the quantized family is planned.
  • Results are from one harness. Absolute scores differ across harnesses.

License and attribution

Released under Apache-2.0, the license of the base model. Derived from Qwen/Qwen3.8-27B by the Qwen team. This is an independent project, not affiliated with or endorsed by the Qwen team.

compressed-tensors
conversational
gptq
grouped-latent-attention
int4
kv-cache-compression
long-context
qwen3
qwen3_5
safetensors
text-generation