Qwen3.8-Flash-Next-Uncensored AWQ W4A16 on 2x CMP 170HX — 8 slots, PP2, MTP5 + int4 draft head, PLE-from-SSD (mannydelrio)
00 upvotes — sign in to vote sign in to votecommunity Community submission — verify on your own hardware.
recipe by mannydelrio↗, AlexBrandes (W4A16 draft lm_head patch, quantizer)↗, cmpunlocker (amoghmunikote)↗, clee/vllm-sm80↗, wtdcode (vllm-backport)↗ · listed by mannydelrio1
revision r6 · commit afee85c4c3 · updated 4 d ago · license CC-BY-4.0
chat code vision pipeline-parallel mtp-speculative abliterated awq ple-ssd uncensored long-context
Two-card Ampere pipeline recipe for Qwen3.8-Flash-Next-Uncensored (512-expert MoE), AWQ W4A16 g32: PP2 (CMP 170HX has no P2P), MTP 5-token drafting with an int4 draft-only lm_head, 8 slots, and the 29.8 GB PLE table on NVMe. Single user 240 / 225 / 156 tok/s structured / code / prose; 8 users 1,044 / 715 / 625 aggregate; cold prefill ~6,960 tok/s; 262,144 context; HumanEval 157/164. 2x CMP 170HX unlocked to 64 GB, Gen2 x4, 180 W each.
Launch command
vllm serve /opt/flashnext/model-awq-int4ple --served-model-name tinybeast-flashnext-uncensored --load-format safetensors --safetensors-load-strategy lazy --pipeline-parallel-size 2 --dtype bfloat16 --max-model-len 262144 --max-num-seqs 8 --max-num-batched-tokens 4096 --block-size 1632 --compilation-config '{"mode":0,"cudagraph_mode":"FULL_DECODE_ONLY","cudagraph_capture_sizes":[6,12,18,24,30,36,42,48],"max_cudagraph_capture_size":48}' --gpu-memory-utilization 0.94 --speculative-config '{"method":"mtp","num_speculative_tokens":5}' --reasoning-parser qwen3 --enable-auto-tool-choice --tool-call-parser qwen3_coder --host 127.0.0.1 --port 18084runtime
env: 'VLLM_PLUGINS=tinybeast_ple_int4,tinybeast_ple_ssd | TB_PLE_SSD=1 | TB_PLE_SSD_PREFETCH=1 | TB_TORCH_MEM_CAP_GIB=61.5 | VLLM_DETERMINISTIC_MOE_ALIGN=0 | VLLM_PP_LAYER_PARTITION=25,23 | CUDA_MODULE_LOADING=EAGER | NCCL_ALGO=Ring | NCCL_PROTO=Simple | VLLM_MTP_DRAFT_HEAD_PATH=/opt/flashnext/draft_lm_head_w4a16.safetensors'
notes: "2026-10-26 revision. Changes vs the 2026-10-15 revision (3 draft tokens): num_speculative_tokens 5, the MTP drafter uses its own int4 (W4A16, group 128, symmetric) copy of lm_head (AlexBrandes/vllm commit 14457f89e5, env VLLM_MTP_DRAFT_HEAD_PATH; the file is made from the checkpoint's lm_head with tools/quantize_lm_head.py from AlexBrandes/cmp170hx-qwen38-flash-next, RTN, 8 s on CPU; verification still uses the full bf16 head, so accepted tokens are unchanged), --block-size 1632 (5 drafts give a QSA ring of 12, which must divide the block size; the default 1616 fails at start-up) and decode graphs 6..48 = 8 slots x (1 + 5). Same-day A/B on this box: 5 drafts WITHOUT the int4 head lost prefill (5,468 tok/s) and was worse on prose and at 8 users; 3 drafts + int4 head gave 208/192/157 single-user and 1,038/760/641 at 8 users (best at 8 users, slower for one coder); 4 drafts + head sat between. Measured with MiaAI-Lab decode prompts (structured = count 1-200, code = clamp_range function, prose = hash-map explanation), temperature 0, thinking off, 400-token cap, streaming; the protocol Morrowmake publishes for CMP 170HX recipes. Single user = median of 10 runs; 2/4/8 users = median of 3 runs of completion tokens / batch wall time. Cold prefill = real-text prompts of 23,945 / 34,299 / 37,905 tokens x3, unique salt first, 0 cache hits (median of 9: 6,964). Quality: HumanEval 157/164 (unchanged from the 3-draft build), needle retrieval passes at 91K / 183K / 219K tokens, GPU1 peak 63.7 GB as before. Engine = wtdcode/vllm-backport @ 3142ded1 source build + the recipe repo's patches and plugins + the draft-head patch above; the recipe repo's serve.sh (042acb9) is the 3-draft launch and is NOT yet updated, so the launch argv and env here are authoritative. Host: 2x CMP 170HX unlocked to 64 GB each (cmpunlocker v0.5), Ryzen 5 5600X, 32 GB RAM, 1 TB NVMe. Long context: optional YaRN x4 reaches 940,800 tokens (measured 2026-10-15 on the 3-draft build, not re-run)."
Use this recipe with your agent
Paste this into any agent chat — it fetches and applies the recipe:
Fetch https://localairecipes.com/api/v1/recipes/qwen3-8-flash-next-uncensored-awq-w4a16-on-2x-cmp-170hx-8-slots.json and apply the inference recipe it describes (engine flags, model, quant, context) to my setup. Ask before overwriting any existing config.Or fetch it directly:
curl -fsSL https://localairecipes.com/api/v1/recipes/qwen3-8-flash-next-uncensored-awq-w4a16-on-2x-cmp-170hx-8-slots.jsonDownloads
- Weights https://huggingface.co/leoncca/Qwen3.8-Flash-Next-Uncensored-AWQ-g32fa56146238f9fcd5ab591b7052b31e28efdca5c3 — AWQ W4A16 g32 build of orcarouter/Qwen3.8-Flash-Next-Uncensored; converted by the repo's scripts/prepare_checkpoint.py into model-awq-int4ple/ (110 GB incl. 4-bit PLE table)
- Engine image https://github.com/wtdcode/vllm-backport3142ded1671b9565503975ee946d7e19fe50ea95 — source build, no image
- Reference https://github.com/mannydelrio/qwen38-flash-next-2x-cmp170hxd82e8d1de7fd591ef83faa33d8aa28c8eecbb619 — recipe repo (serve.sh, patches, plugins, scripts); this revision adds --max-num-seqs 8 and graph sizes to 32
Revision history
- afee85c4c3 recipe: update qwen3-8-flash-next-uncensored-awq-w4a16-on-2x-cmp-170hx-8-slots (r6: /title, /summary, /config/launch, /config/runtime, /performance, /provenance/credit) 4 d ago diff
- 65eb02b44c recipe: update qwen3-8-flash-next-uncensored-awq-w4a16-on-2x-cmp-170hx-8-slots (r2: /max_context_len, /kv_pool_tokens) 10 d ago diff
- d453c8da99 recipe: create qwen3-8-flash-next-uncensored-awq-w4a16-on-2x-cmp-170hx-8-slots 11 d ago
Fork
Sign in to fork this recipe — a fork is your own copy; you own it and only you can update it.