Repository navigation
TandemEngine 0.17.2
TandemEngine 0.17.2 accelerates Hy4-flash single-request decode, prompt prefill, and multi-lane serving on one NVIDIA DGX Spark, and ships public standalone 3-layer DFly2-B6 (block size 6) EXL3 drafters in the Hy4-flash EXL3 collection (no Hugging Face token needed).
Upgrading a box
- Re-run the installer at the new tag:
curl -fsSLO https://raw.githubusercontent.com/TandemLLM/TandemEngine/v0.17.2/install.sh && bash install.sh. - Switching to or updating
hy4-3.56viaops/use-profile.sh hy4-3.56or the Setup Guide automatically fetches the1.60 GBDFly2-B6EXL3 3.5 drafter and K3 draft head (0xBakeer/TandemLLM-Hy4-flash-DFly2-B6-EXL3-3.5). - The chat mode keeps working with TandemApp's extension (engine-ext-v1 3.2/3.3).
Hy4-flash speed and multi-lane serving
- Standalone
DFly2-B6drafter + K3 draft head (ENG-617,OPS-341): Loads external 3-layer, block-size-6HY4DFlyDraftModelcheckpoints (QWEN38_HY4_DFLY_MODEL) and quantized EXL3lm_headdraft heads (QWEN38_DRAFT_HEAD_EXL3), withtools/hy4_dfly2_quant.pyfor Hessian-calibrated EXL3 conversion.hy4-3.56uses0xBakeer/TandemLLM-Hy4-flash-DFly2-B6-EXL3-3.5with its K3 head and GB10 StairCut price file;0xBakeer/TandemLLM-Hy4-flash-DFly2-B6-EXL3-3.0is available as an optional smaller drafter. - Faster row pass and
DFly2head (SPD-345):dense_rowsfor the output head and multi-row blocks, staged streamed-row grouped experts (HY4_MOE_AS=1), one-launch hyper-connections (HY4_HC_FUSED_MIN=16) and attention gating (mul_sigmoid), and row-kernelDFly2drafting (HY4_DFLY_FUSED=1) sharing_run_lanesacross lone and packed rounds. - Host-sync-free prefill and joint burst prefill (
SPD-347):HY4_PREFILL_FAST=1removes per-chunk device reads, runs exact rotary and norms in place, packs indexer query rows ontomm's tile axis, and decodes packed Engram rows on the GPU (engram_decode).HY4_JOINT_PREFILL=1runs concurrent prompt arrivals through onemoe_groupedcall per MoE layer with bit-equal solo outputs, while inter-layerWINDOW_YIELDkeeps active decodes streaming during long prefills. - CUDA-graphed joint verify, packed draft graphs, and
262kgcap(SPD-349): Concurrent lanes verify together (HY4_ATTN_MULTI=1,HY4_JOINT_GRAPH=1, padded buckets 4..64, up to 40 active rows at 8 lanes) with packedDFly2draft graphs (HY4_PACK_GRAPH=1),GCAP_BUCKETSsparse-indexer bucketing up to 262,144 tokens,wk-transposed multi-row attention, zero-sync pinned commits, leased capture streams (capture_lock.lease_stream()),/healthjoint_stats(), andQSE_RUNNER_PIPE=1+QSE_RUNNER_BUSY_WORK=1+QSE_RUNNER_GC=1+QSE_HEALTH_TTL_MS=1000enabled inops/profiles/_hy4.env.
Measured on one NVIDIA DGX Spark (hy4-3.56, --max-len 262,144, 8 lanes)
/v1/completions, cache_prompt: false, thinking off, greedy, 3 rounds per workload (74 requests, 0 errors):
| Workload | Result (3-round median) | Notes |
|---|---|---|
Single request (3,538 -> 600) |
43.33 tok/s, 3.37 accepted/round, 3.76 s TTFT (940.5 tok/s) | Identical greedy text in 3 of 3 runs |
Short prompt (42 -> 1) |
0.192 s TTFT | HY4_PREFILL_FAST=1 |
8k prefill (8,034 -> 1) |
8.841 s TTFT (908.7 tok/s) | Single prompt |
Burst prefill (2x / 4x) |
973.3 / 999.8 tok/s (up to 1,002.8) | HY4_JOINT_PREFILL=1 |
Concurrent decode (C2 / C4 / C8, 256 tok) |
47.75 / 60.86 / 76.72 tok/s end-to-end (51.6 / 63.1 / 81.5 runner steady; 48.9 / 65.9 / 85.1 observed steady) | 942 of 942 joint verify passes replayed from 9 captured graphs (0 eager fallbacks) |
Long prefill beside decode (D12, 12,334 tok) |
495.7 tok/s prefill, 12.22 tok/s concurrent decode, 0.340 s max gap | Inter-layer WINDOW_YIELD |
Every entry is in CHANGELOG.md.