{"slug":"qwen3-8-27b-w8a16-mtp3-split-kv-on-1x-cmp-170hx","title":"Qwen3.8-27B W8A16 MTP3 split-KV on 1x CMP 170HX","summary":"Qwen3.8-27B W8A16 (int8 g128, native MTP head, weights untouched) on ONE NVIDIA CMP 170HX 64GB (GA100/sm80, 190W), vLLM 0.32.0 + HyperQwen opt-170hx patch overlay: a Triton split-KV verify attention kernel (NSEG=16, bf16 KV) makes MTP verify scale with context. 3-run medians: single-stream decode 121 tok/s @4K (+65% vs vLLM 0.27.1 FA2), 110 @32K (+65%), 87 @128K (+382%), 69 @262K (+296%); 32K-in/128-out aggregates C4 220 / C8 218 tok/s; 262K cold prefill 335 s -> 218 s (1201 tok/s). 60-min 4-stream soak 0 failures / 0 Xid; quality 17/18 (one metric false positive). Recipe by mamutou (github.com/mamutou/cmp170hx-qwen27b-serving @ 018dba432c37).","license":"Apache-2.0","tier":"community","beta":false,"revision":{"no":1,"commit_sha":"3178ca190097d5930dc2c847997e7a7e1d519e50","content_hash":"91c537e031285a0106feb9ff850d19b6be7441a6","created_at":"2026-11-10 16:25:38.242898-07","notes":"Scouted by lar-scout sweep 2026-11-10 (digest t_7578e4eb candidate 1); ingest gated on owner call (dupe-adjacent to qwen3-8-27b-int8-mtp3-prefix-cache-on-1x-cmp-170hx-hynix: same checkpoint + card, different engine line - stock nightly 0.26.1rc1.dev1024 fp8-e4m3 KV, no patches, there vs vLLM 0.32.0 + HyperQwen split-KV bf16-KV overlay here). Poster localai-recipes. argv transcribed from HyperQwen single-user/start_qwen.sh PRINT_ARGV at pin b2e687e3a58f with mamutou scripts/serve.sh env; duplicate --max-num-batched-tokens in argv (launcher hardcodes 2048, EXTRA_ARGS appends 16384; vLLM takes the last, mamutou docs/install.md). Key env: VLLM_SPEC_ATTN_NSEG=16, VLLM_SPEC_ATTN_MIN_BATCH=0, VLLM_MARLIN_REPACK_STAGED=1, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False, VLLM_USE_FLASHINFER_SAMPLER=0; auth via VLLM_API_KEY env (no --api-key flag). Scout-card corrections: flashinfer-python==0.7.0.post1 is vllm==0.32.0's own dependency pin (mamutou docs/install.md), not an install.sh line; the repo names no weights repo - identified as lued/Qwen3.8-27B-INT8-W8A16-MTP (existing model row; HF sha 7c12373712d1363e2b76655cb3332c9c124627d7, lastModified 2026-08-15). KV pool: opt-170hx README @ the pin says ~589k-token pool (unmeasured); the measured 565,684 figure was corrected in branch docs on 2026-11-09 on the rebased feat line (pin b2e687e sits on the pre-rebase base; it remains reachable via HyperQwen main, which merged it, and install.sh @ 018dba4 checks it out). The branch tip was re-cut onto vLLM 0.33.0 on 2026-11-10 (6d3c5135) - NOT this recipe. Carried as prose, not submitted as kv_pool_tokens."},"engine_source":{"type":"fork","git_url":"https://github.com/aiultrayang/HyperQwen-CMP170hx","base_engine":"vllm","pip_package":"vllm==0.32.0","base_version":"0.32.0","image_digest":null,"install_note":"vLLM 0.32.0 release wheel + HyperQwen feat/170hx-decode-tuning patch overlay (NOT stock). Clone https://github.com/aiultrayang/HyperQwen-CMP170hx -b feat/170hx-decode-tuning, checkout b2e687e3a58f; python3.12 venv; pip install vllm==0.32.0 + nvidia cuda-13 toolchain pins (flashinfer-python==0.7.0.post1 rides as vllm's own pin); bash patches/apply.sh <site-packages>/vllm (~50 patches, all p1); cp opt-170hx/{envs.py,spec_decode_attn.py,flash_attn.py,triton_attn.py} into site-packages vllm. Recipe + bench provenance: mamutou/cmp170hx-qwen27b-serving @ 018dba432c37 (serve.sh env defaults, docs/). vLLM + HyperQwen upstream credited.","pinned_commit":"b2e687e3a58f2b30d623c49905f41e8113e659d8"},"credit":[{"name":"mamutou","url":"https://github.com/mamutou/cmp170hx-qwen27b-serving"}],"author":{"name":"localai-recipes","isSite":false},"uploaded_by":"localai-recipes","config":{"launch":["vllm","serve","/models/Qwen3.8-27B-W8A16","--served-model-name","qwen3.8-27b","--host","0.0.0.0","--port","18020","--gpu-memory-utilization","0.95","--max-model-len","262144","--max-num-seqs","8","--api-server-count","1","--language-model-only","--attention-backend","FLASH_ATTN","--kv-cache-dtype","bfloat16","--mamba-ssm-cache-dtype","float16","--async-scheduling","--max-num-batched-tokens","2048","--speculative-config","{\"method\":\"mtp\",\"num_speculative_tokens\":3,\"draft_sample_method\":\"probabilistic\"}","--compilation-config","{\"max_cudagraph_capture_size\":32,\"custom_ops\":[\"+rms_norm\",\"+silu_and_mul\"],\"cudagraph_mode\":\"PIECEWISE\"}","--reasoning-parser","qwen3","--enable-prompt-tokens-details","--enable-auto-tool-choice","--tool-call-parser","qwen3_coder","--tool-strict-level","parameter","--prefix-cache-retention-interval","None","--enable-prefix-caching","--mamba-cache-mode","align","--max-num-batched-tokens","16384","--sse-keep-alive-interval","30"],"max_context_len":262144},"models":[{"slug":"qwen3-8-27b-int8-w8a16-mtp","name":"Qwen3.8-27B-INT8-W8A16-MTP","hf_repo":"lued/Qwen3.8-27B-INT8-W8A16-MTP","quant":"int8-w8a16"}],"hardware":[{"slug":"nvidia-cmp-170hx","vendor":"nvidia","card":"cmp-170hx","card_family":"170hx","vram_gb":64,"device_count":1}],"generation":"ampere","tags":["bf16-kv","cuda-graphs","hyperqwen","int8","long-context","mtp3","mtp-speculative","patched-vllm","prefix-cache","single-gpu","spec-decode","split-kv"],"tasks":["chat","code"],"aa":{"aa_index":20.1099999999999994315658113919198513031005859375,"aa_provenance":"measured","aa_source_url":"https://artificialanalysis.ai/models/qwen3-8-27b","aa_index_version":"Index v5.0.1 (2026-11-14)","aa_methodology_version":"v5.0.1","aa_published_fetched_at":"2026-11-18 22:27:52.619159-07","aa_family_slug":"qwen-3-8-27b","aa_resolved_slug":"qwen-3-8-27b"},"performance":[{"claimed_by":"submitter","metrics":"{\"notes\": \"All numbers 3-run medians, controlled single-GPU bench (mamutou scripts/probe.py: exact token-id prompts, ignore_eos, temperature 0, warm prefix cache except 128K/262K), docs/benchmarks.md @ 018dba432c37. Single-stream decode = 1000/step-median; MTP k=3, ~3.8 tok/step accepted. Aggregate rows: 32K input / 128 output, batch_tok_s. Prefill row: cold 262K, base 335.1 s / 782 tok/s -> 218.2 s / 1201 tok/s (gain from 0.32.0 + batched tokens, not split-KV). Base arm = vLLM 0.27.1 FA2, same weights. 60-min 4-stream soak (8K in/128 out): 162 tok/s median, 164 rounds, 0 failed requests, 0 Xid, 83C/200W peak. Quality 17/18 (the repeat-detection item was a metric false positive; body-only retest 0.0% 30-gram).\", \"tok_s\": 69, \"points\": [{\"notes\": \"step median 33.2 ms; base vLLM 0.27.1 FA2 73 tok/s (+65%)\", \"concurrency\": 1, \"context_len\": 4096, \"decode_tok_s\": 121}, {\"notes\": \"36.4 ms; base 67 tok/s (+65%)\", \"concurrency\": 1, \"context_len\": 32768, \"decode_tok_s\": 110}, {\"notes\": \"47.5 ms; base 18 tok/s (+382%) - split-KV is the whole gain here\", \"concurrency\": 1, \"context_len\": 131072, \"decode_tok_s\": 87}, {\"notes\": \"62.1 ms; base 17.4 tok/s (+296%); ~450 GB/s effective vs 1355-1605 D2D\", \"concurrency\": 1, \"context_len\": 262144, \"decode_tok_s\": 69}, {\"notes\": \"C4 aggregate, 32K in / 128 out; base 107 tok/s (2.1x)\", \"concurrency\": 4, \"context_len\": 32768, \"decode_tok_s\": 220}, {\"notes\": \"C8 aggregate, 32K in / 128 out; base 128 tok/s (1.7x); fixed 16 segments (adaptive NSEG drops to ~135)\", \"concurrency\": 8, \"context_len\": 32768, \"decode_tok_s\": 218}, {\"notes\": \"cold 262K prefill 218.2 s; base 335.1 s / 782 tok/s (+54%)\", \"ttft_ms\": 218200, \"context_len\": 262144, \"prefill_tok_s\": 1201}], \"context_len\": 262144}"}],"perf_points":[{"id":13769,"context_len":4096,"prefill_tok_s":null,"decode_tok_s":121,"ttft_ms":null,"concurrency":1,"claimed_by":"submitter","notes":"step median 33.2 ms; base vLLM 0.27.1 FA2 73 tok/s (+65%)"},{"id":13770,"context_len":32768,"prefill_tok_s":null,"decode_tok_s":110,"ttft_ms":null,"concurrency":1,"claimed_by":"submitter","notes":"36.4 ms; base 67 tok/s (+65%)"},{"id":13771,"context_len":32768,"prefill_tok_s":null,"decode_tok_s":220,"ttft_ms":null,"concurrency":4,"claimed_by":"submitter","notes":"C4 aggregate, 32K in / 128 out; base 107 tok/s (2.1x)"},{"id":13772,"context_len":32768,"prefill_tok_s":null,"decode_tok_s":218,"ttft_ms":null,"concurrency":8,"claimed_by":"submitter","notes":"C8 aggregate, 32K in / 128 out; base 128 tok/s (1.7x); fixed 16 segments (adaptive NSEG drops to ~135)"},{"id":13773,"context_len":131072,"prefill_tok_s":null,"decode_tok_s":87,"ttft_ms":null,"concurrency":1,"claimed_by":"submitter","notes":"47.5 ms; base 18 tok/s (+382%) - split-KV is the whole gain here"},{"id":13775,"context_len":262144,"prefill_tok_s":1201,"decode_tok_s":null,"ttft_ms":218200,"concurrency":null,"claimed_by":"submitter","notes":"cold 262K prefill 218.2 s; base 335.1 s / 782 tok/s (+54%)"},{"id":13774,"context_len":262144,"prefill_tok_s":null,"decode_tok_s":69,"ttft_ms":null,"concurrency":1,"claimed_by":"submitter","notes":"62.1 ms; base 17.4 tok/s (+296%); ~450 GB/s effective vs 1355-1605 D2D"}],"agent":{"prompt":"Fetch https://localairecipes.com/api/v1/recipes/qwen3-8-27b-w8a16-mtp3-split-kv-on-1x-cmp-170hx.json and apply the inference recipe it describes (engine flags, model, quant, context) to my setup. Ask before overwriting any existing config.","curl":"curl -fsSL https://localairecipes.com/api/v1/recipes/qwen3-8-27b-w8a16-mtp3-split-kv-on-1x-cmp-170hx.json"},"requirements":null,"artifacts":[{"kind":"reference","pointer_type":"git_commit","pointer":"https://github.com/mamutou/cmp170hx-qwen27b-serving","pin":"018dba432c370946c74cd77359826abc54e71a18"},{"kind":"reference","pointer_type":"git_commit","pointer":"https://github.com/aiultrayang/HyperQwen-CMP170hx","pin":"b2e687e3a58f2b30d623c49905f41e8113e659d8"},{"kind":"model_weights","pointer_type":"hf_model","pointer":"https://huggingface.co/lued/Qwen3.8-27B-INT8-W8A16-MTP","pin":"7c12373712d1363e2b76655cb3332c9c124627d7"}],"links":{"self":"/api/v1/recipes/qwen3-8-27b-w8a16-mtp3-split-kv-on-1x-cmp-170hx.json","alternate":"/r/qwen3-8-27b-w8a16-mtp3-split-kv-on-1x-cmp-170hx","describedby":"/openapi.json"},"updated_at":"2026-12-02 23:22:59.820565-07","created_at":"2026-11-10 16:25:38.242898-07","speeds":{"decode_tok_s":98.5,"prefill_tok_s":1201,"leaderboard":"/api/v1/leaderboard.json"}}