Qwen3.8-Flash-Next Swift15 AWQ 2x CMP 170HX PP2 MTP4 PLE Asgard
00 upvotes — sign in to vote sign in to votecommunity Community submission — verify on your own hardware.
recipe by inordic (recipe, patch series, measurements), 2dameneko (base vLLM build vllm-Qwen3.8-Flash-Next-2xCMP170HX, commit 56e1347), iIIusi0n (PLE-SSD offload recipe and ple_ssd_io.so helper), ukisai (Swift 1.5 W4A16-AWQ checkpoint), doth4580 (DotH MTP head retrained on agent traffic), leonbollerup (Qwen Asgard chat template), AlexBrandes (int4 MTP draft head patch 08, quantize_lm_head.py), vLLM upstream PRs ported: #55601, #60210, #56734, #60615, #58784, #54912, #62344, #65470, #50986, #57553 · listed by localai-recipes
revision r2 · commit 886304d65b · updated 44 h ago · license MIT
chat code pp2 ple-nvme sm80 prefix-caching asgard-template bf16-kv mtp4 no-p2p long-context speculative-decoding
Qwen3.8-Flash-Next (Swift 1.5 W4A16-AWQ, DotH MTP head retrained on agent traffic) on two unlocked 64 GB CMP 170HX cards (300 W VBIOS cross-flash) in vLLM pipeline parallel. PP2 (24,24 layers), MTP4 with n-gram lookup and an int4 draft lm_head, --prefix-match-unit 16, BF16 KV, the ~95 GiB PLE n-gram table streamed from NVMe via Linux AIO (16 GiB row cache), 262,144-token max-model-len, 24 seqs, Qwen Asgard chat template with reasoning_effort medium. Author-measured (night 6 + parser fixes, 2026-11-05): 198.1 tok/s median code-gen decode at default clocks with 3.62 mean acceptance, 304 tok/s code editing at 1440 MHz, 8,403 tok/s prefill on a 128K prompt, 511 tok/s aggregate at 16 users, BFCL v4 80.3% (night-3 suite; night-6 re-run 80.0%). recipe by inordic.
Launch command
/opt/vllm-qfn-n6p/.venv/bin/vllm serve /opt/vllm-qfn/models/swift15-doth --served-model-name qwen3.8-flash-next --host 0.0.0.0 --port 8080 --dtype bfloat16 --max-model-len 262144 --max-num-seqs 24 --max-num-batched-tokens 4096 --gpu-memory-utilization 0.90 --safetensors-load-strategy lazy --mamba-cache-mode align --enable-prefix-caching --enable-chunked-prefill --reasoning-parser qwen3 --enable-auto-tool-choice --tool-call-parser qwen3_xml --additional-config '{"ple_ssd_offload":true,"ple_ssd_workers":32,"ple_ssd_cache_mb":16384,"ple_ssd_native_library":"/opt/vllm-qfn/optimization/ple_ssd_io.so","ple_ssd_io_depth":512,"ple_ssd_prefetch_tokens":131072}' --pipeline-parallel-size 2 --enable-expert-parallel --async-scheduling --prefix-match-unit 16 --enable-mamba-fine-grained-prefix-cache --served-model-name qwen3.8-flash-next qwen3.8-flash-next-terse swift-1.5-awq Qwen3.8-Flash-Next-AWQ-INT4 swift-1.5-iq3_xxs --chat-template /opt/vllm-qfn/templates/qwen-asgard-v1.jinja --default-chat-template-kwargs '{"reasoning_effort":"medium","tool_prompt":"chromix"}' --speculative-config '{"method":"mtp","num_speculative_tokens":4,"ngram_lookup":true}' --compilation-config '{"cudagraph_mode":"FULL_AND_PIECEWISE","cudagraph_capture_sizes":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,20,22,24,26,28,30,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,128,192,256,512,1024,2048],"mode":1}' --api-key '<from /root/llm-api-key>'env
- VLLM_VENV=/opt/vllm-qfn-n6p/.venv
- MODEL=/opt/vllm-qfn/models/swift15-doth
- SERVED_NAME=qwen3.8-flash-next
- PORT=8080
- 'CUDA_DEVICES=1,0'
- MTP=0
- PP_SIZE=2
- 'VLLM_PP_LAYER_PARTITION=24,24'
- MAX_MODEL_LEN=262144
- MAX_NUM_SEQS=24
- MAX_BATCH_TOKENS=4096
- GPU_MEMORY=0.90
- PLE_SSD_OFFLOAD=1
- PLE_SSD_WORKERS=32
- PLE_SSD_CACHE_MB=16384
- PLE_SSD_IO_DEPTH=512
- PLE_SSD_PREFETCH=131072
- PLE_SSD_LIB=/opt/vllm-qfn/optimization/ple_ssd_io.so
- COMPILE_MODE=1
- GRAPH_MODE=FULL_AND_PIECEWISE
- VLLM_USE_BREAKABLE_CUDAGRAPH=1
- VLLM_PLE_NONPLE_LOADER=instanttensor
- QWEN38_ABLITERATION=
- 'CAPTURE_SIZES=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,20,22,24,26,28,30,32,36,40,44,48,52,56,60,64,68,72,76,80,84,88,92,96,128,192,256,512,1024,2048]'
- VLLM_MTP_DRAFT_HEAD_PATH=/opt/vllm-qfn/models/draft-heads/swift15-awq-lm_head-w4a16.safetensors
runtime
notes: 'Card order matters: CUDA_DEVICES=1,0 puts the slower (250 W VBIOS) card as PP stage 0: +9% decode, prefill equal. --prefix-match-unit 16 because with 4 draft tokens the attention block is 1616 tokens, which 32 does not divide. reasoning_effort medium is the measured optimum (xhigh costs -5.2 BFCL points). Production profile config/qfn-prod.env (night 6 + parser fixes, 2026-11-05) is the argv authority; systemd unit config/vllm-qfn.service. INT8 KV (patch 10/K1) is validated but NOT in production (BF16 KV kept).'
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-swift15-awq-2x-cmp-170hx-pp2-mtp4-ple-asgard.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-swift15-awq-2x-cmp-170hx-pp2-mtp4-ple-asgard.jsonDownloads
- Reference https://github.com/inordic/cmp170hx-vllm-qwen38-flash-next77833eaf6a31df4588f75001dfda4d9b521a0dc7
- Weights https://huggingface.co/ukisai/Swift-1.5-Qwen3.8-Flash-Next-W4A16-AWQ598afc96128f76a67117caf878f538d34f6f1e02
- Drafter https://huggingface.co/doth4580/Qwen3.8-Flash-Next-DotH-MTP-BF16grafted dense MTP head via tools/models/graft_doth.py; int4 draft lm_head built by tools/models/quantize_lm_head.py
Revision notes
Ingested from the lar-scout 2026-11-05 sweep; re-verified at repo HEAD fe725e47 (night-6 production profile dated 2026-11-05). corrections_to_card: (1) PLE table is ~95 GiB streamed from NVMe via Linux AIO with a 16 GiB row cache, not '48 GiB mmapped' (mmap is only the >=93 GB RAM fallback); (2) aggregate at 16 users on the night-6 standard is 511.0 tok/s (night6-conc.jsonl C-u16) - the card's 504 is the night-2 previous standard; (3) BFCL 80.3%/HumanEval+ 95.7%/MBPP+ 82.5%/LCB 58.3%/needles are the nights 2-3 suite (night-6 re-run BFCL 80.0%, within noise); (4) code-edit 304 tok/s measured at 1440 MHz on the night-4/5 standard (night-6 re-check 304.3); (5) credit list corrected to the repo's NOTICE.md - the card's 'Morrowmake' and 'g4bwy' credits appear nowhere in the repo (patches 19-23 are ports of vllm#54912 #62344 #65470; K1/D3 patches are inordic's own); (6) patch 14 (C3) is not redistributed in the public repo and is OFF. Dedupe: 'inordic' 0 hits across all served recipe bodies/corpus; distinct from the other 2x-170HX W4A16 slugs by checkpoint (ukisai Swift 1.5 AWQ + DotH MTP head), engine tree (n6k), template (Asgard), int4 draft head, --prefix-match-unit 16.
Verified revision t_d84dd32d (2026-11-19): engine tree n6k -> n6p at upstream 77833eaf6a31df4588f75001dfda4d9b521a0dc7 (linear fast-forward from fe725e47ec81de2968cdc2df5cf14ef40942f055; config/qfn-prod.env delta = the n6p VLLM_VENV/VLLM_BIN swap + profile comments only, launch args byte-identical); adds parser fixes 24-26 (24 = port of vllm#50986 validate tool names, 25 = port of vllm#57553 fenced tool-call examples, 26 = P1 require-tool-call-wrapper). Author receipts: results/logs/parser-fixes-LOG.md GATE PASSED 06:06 UTC (prod_check, func_check, multiturn prefix-cache 80% hits, canary, features 29/29); quality re-runs on the n6p build within noise - BFCL 80.8% vs 80.0% (n=1040, paired diff +1.3 pt, CI -0.2..+2.9), long-context needles 96.7% vs 97.2% (paired +0.6 pt, CI -2.8..+4.4). Code-gen decode row refreshed to the n6p build: 198.1 tok/s median (12 runs, decode-N6P-prod.json; prior row 199.6 was the night-6 n6k median), acceptance 3.62 unchanged. Dedupe-line tree correction: the engine tree is now n6p.
Revision history
- ab68ce1019 recipe: sync 20 from preprod (wave 15 — 7 NEW: maya strix-halo x2, iq2xs strata 170hx, inkling-2-mini dspark, crucible strix-halo, wombat tep4 monitoring, hibana fast-vision; 13 revision bumps: morrowmake-9slg engine train + radiance train + hyperflare-20261116 + tandem v0.4.0 + theogravity diffbot + g4bwy rebase + asgard n6p + others — owner go 2026-11-19, sync 2026-11-21) 13 d ago diff
- 0d29eff291 recipe: create qwen3-8-flash-next-swift15-awq-2x-cmp-170hx-pp2-mtp4-ple-asgard 30 d ago
Fork
Sign in to fork this recipe — a fork is your own copy; you own it and only you can update it.