Repository navigation
TandemEngine 0.17.3
TandemEngine 0.17.3 adds Hy4-flash's native 27-layer model.vit vision tower and fixes <think> chat decode speed under the conductor so chat-mode decoding runs at full X-Tandem: raw speed with identical outputs.
Upgrading a box
- Re-run the installer at the new tag:
curl -fsSLO https://raw.githubusercontent.com/TandemLLM/TandemEngine/v0.17.3/install.sh && bash install.sh. - Chat mode speaks
engine-ext-v1 3.4(optionalsp1_needed) and stays backward-compatible with3.2/3.3extensions. Pair with TandemApp0.16.1(which implementsSupervisor.sp1_needed) to skip SP1 verdicts on quiet<think>blocks.
What changed
- Hy4-flash native vision: Loads the pack's 27-layer
model.vit.*vision tower (0.48 GBon device) in fp32 with CUDA TF32 disabled insideencode(), appliesHy4Preprocessornormalization and theperceive2x2 merger withimage_newline, threads 3D mRoPE positions across prompt chunks, decode/verify graphs, joint multi-lane verify, andDFly2speculation, and setsvision: trueinmodels/hy4-flash/card.jsonwhen the tower is loaded. - Selective SP1 gating (
SPD-351,engine-ext-v1 3.4): Adds optional supervisor methodsp1_needed(reasoning_tokens, stall, share) -> bool. When it returnsFalse,round_runnerskips the blocking SP1 verdict on quiet reasoning blocks, restoresQSE_RUNNER_PIPE=1ahead-drafting andQSE_RUNNER_BUSY_WORK=1, and keepsclose_countssynced via_watch_sync. - Parallel narrator guard &
O(1)tool-call closer scan (SPD-351): Gates in-turn GPUvoice,reader, andthoughtsnarrator slices behindpar is Noneso HTTP-thread CUDA work cannot stall parallel decode passes or graph captures, and replaces repeated per-token closer scans inserver/api/toolcall.pyand thepythonic/argkeyformats with a monotonic_close_scancursor.
Measured on one NVIDIA DGX Spark (hy4-3.56, /v1/chat/completions, conductor=on, monitor=on)
| Metric | Before (0.17.2) |
After (0.17.3 + TandemApp 0.16.1) |
|---|---|---|
round_runner.sp1_marks |
86,332 (~83.5 % of rounds blocked) |
0 on quiet <think> rounds (2 exact reserve closes across 2,820 rounds) |
verdict_wait_ms |
50,021.5 ms (sat_out: 96) |
1.91 ms (sat_out: 0) |
Warmed chat-app (1,650 tok: 1,119 <think> + 531 prose) |
~19 tok/s inside <think> |
33.97 tok/s overall · 31.11 tok/s <think> · 42.10 tok/s prose |
Warmed X-Tandem: raw (same prompt, 1,650 tok) |
— | 33.94 tok/s overall · 31.08 tok/s <think> · 42.12 tok/s prose |
Every entry is in CHANGELOG.md.