Repository navigation
TandemLLM 0.15.2
TandemLLM 0.15.2 fixes a long chat that waited 15 minutes for memory on a server that had run for an hour, and a Stop that could not end that wait. A memory note the model writes as a tool call is now stored, where the Chat tab used to answer that the tool does not exist. Fourteen pull requests from two contributors are in it: the allocator's counters read without work for the collector, 7-bit EXL3 tensors on the dense kernels, the Setup Guide's simple mode and new metrics among them. Pull requests that touch the engine now carry a quality gate report.
The memory wait
- A prefill the memory gate admits over the engine's peak is charged only the new memory it takes: its workspace less the allocator's free blocks, which it uses first (SRV-775). A lone chat of 31,053 rows was charged 3.9 GiB with 2.3 GiB of it free in the reserve, found 9.7 GiB under its 10 GiB floor and waited until the client gave up.
- The idle window captures no graphs while the reserve plus the smallest prefill's workspace is over the peak (SPD-273). Each capture keeps a private pool of about 20 MB that nothing returns, and one window moved the reserve from 76.1 to 80.0 GiB.
- The Chat tab's Stop ends a request that waits for memory within a second (SRV-777). The engine sends no headers while a request waits, so Stop had nothing to close until chatd's 15-minute read timeout. The engine books such a request as abandoned, with a
[req]line.
Memory notes (chat, beta)
- With a chat's tools in view the model can write its note as a
tandem_memorytool call. The server now stores or refuses it as it does the<tandem_memory>block, hides it, and never sends it to the client. An answer of notes alone goes on, so the client gets the model's next words instead of an empty turn. - A rule about the user written in a tool turn is kept for that conversation only, at session scope. Before, the store refused it.
Engine and server
- The engine reads the allocator's counters off torch's nested dict (#145). The flat reader left about 4,000 tuples a call in a reference cycle, and with
QSE_RUNNER_GC=1, on in the Flash-Next profiles, the collection after a round took 40 to 80 ms while the GPU waited. - The dense kernels take 7-bit EXL3 tensors (#136), and NemotronH's packed IQ2, Q8 and FP8 weights run a 33-row verify block on their row kernels (#142).
- Flash-Next's MTP catch-up caps its own prefill chunk at 8,192 rows, so
QWEN38_FN_PREFILL_CHUNK=16384no longer ends in a 500 (#148). The prefill MoE group GEMM takes 64 rows an item, with the same text (#151). /metricscounts the n-gram table's hot-row cache and the engine's own work, the summaries it prepares and the memory writer's turns (#152). A scrape reads the cache report once (#147).- A Hermes session's disk-tier head is saved on its first request (#150). With
QSE_PARALLEL_WINDOW_ROWSset, a long prefill also hands the GPU turn to a lane the round runner decodes (#156). install.sh pinszstandard, the session spill's codec (#146).
Setup Guide
- A new browser opens the guide in a simple mode: three pages with the model's own defaults, and one switch brings back all eight steps (#103).
- Weight downloads use plain HTTP instead of the hub's Xet backend, which wants about 2 GiB of buffers; on a box that already ran an engine the out-of-memory killer ended the fetch (#137).
- The estimate says that fewer lanes, or a shorter side window, gives each lane its full window (#153).
For contributors
- The quality gate:
python -m tools.gate runmeasures main and your branch side by side on your GPU and writesgate-report.mdfor the pull request (docs/quality-gate.md). Without a fitting GPU, say so, and a maintainer runs it. - Every per-GPU choice goes through one adapter a GPU in
tools/gpu(its README). A port to a new GPU changes its own file and no other GPU's answers. python -m tools.release_reportmakes the benchmark page for your own GPU and model (docs/benchmark-report.md). This release's page for Flash-Next 3.05 follows as an asset.- docs/measurement.md lists four more traps for measuring several lanes at once (#154).
Pull requests
- AgentSparko, #145 #146 #147 #148 #150 #151 #152 #153 #154 #156 #137 #103: the allocator's counters, the spill codec, the metrics, the MTP chunk cap, Hermes sessions, the 64-row group GEMM, the estimate note, the measurement traps, the window cap, the download that survives a loaded box, and the Setup Guide's simple mode.
- 0xWhiteMage, #136 #142: 7-bit EXL3 tensors on the dense kernels, and the 33rd verify row on the IQ2, Q8 and FP8 row kernels.
Text and caches
Flash-Next 3.05 writes the same text as 0.15.1. On the quality gate's 8 prompts both versions gave the same tokens, greedy as well as seeded, and the greedy texts with speculation off equal those with it on. The text of a pack with 7-bit tensors can change (#136).
Every family's fingerprint moves once, so 0.15.1's prompt-cache files and spilled conversations are rebuilt once.
Measured
One DGX Spark, 2026-11-04, the full quality gate: 0.15.1 and 0.15.2 on Flash-Next 3.05, each on a fresh server, two servers a side in turn. Every server ran 8 lanes at a 262,144-token window with the conductor raw, suffix store and response cache off. Requests go to raw /v1/completions with fixed prompts and seeds. A speed row is the median of 6 rounds, 3 a server, and every 8-at-once round shows 8 requests decoding in /health.
| Flash-Next 3.05 | 0.15.1 | 0.15.2 |
|---|---|---|
| 1 request, short prompt, decode tok/s | 55.6 | 56.4 |
| 1 request, 1k prompt, decode tok/s | 49.6 | 50.7 |
| 8 at once, decode tok/s in total | 155.5 | 157.4 |
| 8 at once, tok/s in total with the first tokens | 146.0 | 148.7 |
| prefill of 8k tokens, tok/s | 1,164 | 1,210 |
| prefill of 32k tokens, tok/s | 1,099 | 1,132 |
| prefill of 64k tokens, tok/s | 970 | 997 |
| 8 prompts of 2k at once, median first token, s | 13.78 | 12.93 |
The 1k decode, the three prefills and the burst's first token are better by more than the rounds' spread; the other rows are within it. Which change makes the difference is not measured. A 131k-token prompt completed in 179.0 s on 0.15.2 and 183.3 s on 0.15.1, one request each. In 30 minutes of mixed traffic on each server, no request failed, and the collector's young collections inside rounds took 6.1 s in total on 0.15.2 against 27.6 s on 0.15.1, with the longest at 35 ms against 123 ms.
On the Flash-Next page, the row for 8 requests at once with 2k prompts is the median of two rounds that differ, 149.6 and 98.0 tok/s by the wall clock; a rerun will replace it. The page's other rows come from the runs their sections describe.