Skip to content

TandemLLM 0.15.1

Choose a tag to compare

@0xBakeer 0xBakeer released this 02 Nov 20:08
· 1047 commits to main since this release

TandemLLM 0.15.1 makes Flash-Next faster with many requests at once: 8 requests on the 3.05 pack decode at 146.8 tok/s in total. The 0.15.0 card gave 108.2, measured the 0.15.0 way (a new prompt every round); with the same requests on the same day, the 0.15.0 engine runs at 130.3. With the chat template's thinking on and a new prompt in every round, 8 at once decode at 147.2 tok/s. Long agent sessions get three memory fixes, and a new install runs the engine only.

Flash-Next's joint pass

  • Every lane's attention, PLE and GDN prep runs in one launch a layer. The grouped expert kernels stream each pair's rows beside their tiles, so a gate and up CTA needs about 14 KB of shared memory instead of 42 KB.
  • A dense joint pass runs from CUDA graphs, keyed by lanes, padded rows and the lanes' KV strides. Each row keeps its arithmetic.
  • The prompts of a burst prefill in one forward (QWEN38_FN_JOINT_PREFILL, on in the Flash-Next profiles). Requests that arrive together get more tokens per second in total. Long prompts in a burst get their first token later, because every first token waits for that one forward.

Drafts

  • A seeded sampled request drafts under the target's own keyed noise, so a draft lands on the target's draw whenever the MTP head and the target agree on top of that noise. Every emitted token is still the target's draw.
  • On the 3.05 pack a learned corrector re-ranks the head's top 8 tokens before that pick. Its 34.9 MB file is on Hugging Face as 0xBakeer/TandemLLM-Qwen3.8-Flash-Next-EXL3-3.05-corrector. ops/use-profile.sh flashnext-3.05 and the Setup Guide download it at the commit the profile pins and check its sha256. Without the file the drafts stay plain coupled, and /health says why.
  • The 3.05 profile keeps the drafters' cut on its price file (QWEN38_FN_DRAFT_FREEZE=1), so a request drafts the same rounds whatever ran before it.
  • On rounds that other lanes share, an MTP lane's lookup backs off after a round where it gave the tree nothing (QWEN38_FN_LOOK_BACKOFF=16).

Server

  • The round runner pushes tokens, writes its report line and rebuilds /health while the GPU runs the next joint pass. The collector stays out of its rounds.
  • /health builds its full body at most once a second on the Flash-Next profiles (QSE_HEALTH_TTL_MS=1000).

Fixes

  • The memory gate charges a resumed turn for the rows it reads, not for its whole context, on every slot (SRV-773). On Flash-Next a 21-token follow-up takes 0.10 GiB at any context from 8k to 146k tokens, where the old charge was 2.75 to 10.39 GiB. Slot 0 no longer answers 503 to a short follow-up on a conversation it holds.
  • A side slot's prefill passes the memory gate too, so the engine holds every prefill to its declared peak (SRV-775). Before, one side-slot turn of 3,714 rows on a 131k context took the engine's reserve to 84.8 GiB against a 75.8 GiB peak and left 5.0 GiB of MemAvailable. A prefill that no shed can fit runs over the peak only when no other prefill runs, and /health counts it in memory.over_peak_admits. With 8 requests at once the first token comes about 0.15 s later than before these fixes; the cause is not isolated yet.
  • A KV reset resets Flash-Next's MTP heads too (SPD-271). After a reclaim or a spill restore, the idle pass no longer loops on ClassError every 2 s, and the other slots keep their idle captures. The idle pass skips a capture that failed until its slot's state changes.
  • A fresh server's first raw request no longer waits for slot 0 behind a whole generation: its prompt is counted on the host.
  • An idle graph capture no longer takes a context class below its state's, which ended in an illegal memory access.
  • A stream that stops early closes its generation before the bookkeeping, so a joint graph capture no longer fails with cudaErrorStreamCaptureInvalidated (SPD-249).
  • A Flash-Next block just under a context-class edge verifies eagerly, and a graph whose capture fails keeps no key (SPD-261).
  • A chat's follow-up resumes at its end anchor at the memory ceiling instead of reading the chat again (SPD-257).
  • The engine skips a lookup corpus recorded for another tokenizer instead of stopping before it binds its port (#105).
  • NemotronH runs a 33-row verify block on the row kernels (SPD-255).

Engine only by default

A new install runs the engine alone, with no conductor and no chat models (OPS-260). The chat (beta) is an opt-in: install.sh --with-chat, the Setup Guide's Chat (beta) switch or QSE_MODE=chat in run/local.env. An upgrade keeps the box's mode, so a box that runs the chat today stays a chat box. /health and /v1/models report the mode.

Chat (beta)

/v1/chat/completions runs through the conductor. It works and is in beta. No number in this text comes from it.

  • A new chat the router cannot classify under load is a plain chat at the profile's default effort, not code_edit at xhigh (SRV-763). A migration sets undecided_class: chat on a stored chat-app profile.
  • New chats of one user share the notes head; the session's address moves to a tail note (SRV-765).
  • A shadow library question waits until the server has been idle for 5 s (VIS-119).
  • With joint prefill on, the router's class question no longer waits in a burst for the turn that waits for its answer (SRV-769).
  • Known: in a burst of 8 new chats some class questions still run out their timeout, and those chats fall back to a plain chat (SRV-771).

Text and caches

  • Seeded texts are the same as 0.15.0's. Greedy prose can part from 0.15.0's at a near tie: on the card's prose prompts the first difference is a word choice 157 to 646 characters in. Greedy chat and code texts are equal. The cause is not isolated yet.
  • Every family's fingerprint moves once, so 0.15.0's prompt-cache files and spilled conversations are rebuilt once.

Measured

One DGX Spark, 2026-11-01, the engine direct on raw /v1/completions: each model on its shipped profile, 8 lanes at a 262,144-token window, suffix store and response cache off. N requests at once, 512 tokens each, temperature 1.0, top-k 20, top-p 0.95. Request i has a fixed prompt and the seed 1000 + i in every round, and a warm-up and 3 rounds run back to back. Total tok/s, prompts in the chat template with thinking off. The 0.15.0 engine ran the same requests on the same day.

Flash-Next 3.05 1 at once 2 4 8
0.15.0 50.5 67.6 96.0 130.3
0.15.1 50.5 71.2 104.9 146.8

With the template's own default, where Flash-Next writes its reasoning first, 8 requests at once with a new prompt in every round run at 147.2 tok/s on 0.15.1. With the same prompts repeated on both engines, 1 and 8 at once run at 53.9 and 132.7 tok/s on 0.15.0 and at 61.0 and 156.7 on 0.15.1, and every token was the same.

The other cards, measured the same way on 0.15.1:

card 1 at once 8 at once
Qwen3.8 27B EXL3 4.0 35.2 149.2
Qwen3.8 27B EXL3 6.0 27.3 123.4
ThinkingCap 27B EXL3 4.0 35.2 144.5
Flint EXL3 4.0 108.8 218.3
Flint EXL3 6.0 87.0 172.2
LFM2.5 24B-A2B EXL3 4.0 121.7 233.1
Ornith 1.5 122B EXL3 4.0 37.0 84.4
Nemotron 3.5 Bolt EXL3 4.0 35.2 92.2

The 0.15.0 cards gave every request a fresh prompt each round, so their rows are not this measurement. A same-day run of 0.15.0 against 0.15.1 on these models, 1 and 8 at once, showed no regression beyond the rounds' spread.