Views
No views yet
Qwen3-Coder-30B-A3B-Instruct — calibrated with thinking + code data, optimized for AMD RDNA4 (gfx1201) inference with SGLang.| Base model | cerebras/Qwen3-Coder-REAP-25B-A3B (REAP prune of Qwen3-Coder-30B-A3B-Instruct) |
| Architecture | Qwen3 MoE (96 experts post-REAP, top-8) |
| Parameters | ~25B total / 3B active |
| Pruning method | REAP (Router-aware Expert pruning, 25% drop) — distinct from REAM (expert merging) |
| Layers | 48 |
| Context | 131K (tested), 256K supported by base |
| Quantization | Native AWQ 4-bit, group_size=128, fused Triton GEMM |
| Calibration | GPTQ via llmcompressor, 256 samples × 1024 tokens, code_thinking mix (AM-Thinking-v1, NuminaMath-CoT, ultrachat); ignore=lm_head, mlp.gate, shared_expert.* |
sglang.bench_serving, single user, FP8 KV cache, --disable-cuda-graph:| Context | TPOT (ms) | tok/s |
|---|---|---|
| 128 | 43.6 | 22.9 |
| 1024 | 43.7 | 22.9 |
| 8192 | 44.1 | 22.7 |
| 32768 | 44.2 | 22.6 |
| 65536 | 45.5 | 22.0 |
| 131072 | 45.6 | 21.9 |
convert_moe_ct_to_awq.py — on ROCm the AWQ Triton GEMM kernel is 6× faster than the compressed-tensors path on the same weights.shared_expert.{gate,up,down}_proj and mlp.gate (router) are preserved in BF16 to avoid the always-on residual / routing path going through INT4. shared_expert_gate (output dim 1) auto-falls-back to BF16 in the converter since AWQ packing requires divisibility by 8.1git clone https://github.com/mattbucci/2x-R9700-RDNA4-GFX1201-sglang-inference
2cd 2x-R9700-RDNA4-GFX1201-sglang-inference
3./scripts/setup.sh
4MODEL=mattbucci/Qwen3-Coder-REAP-25B-A3B-AWQ scripts/launch.sh coder-reap-25bcoder-reap-25b preset auto-detects the AWQ format and uses --quantization moe_wna16 with FP8 KV cache for 131K context single-user.vllm / transformers + autoawq without modification.