Repository navigation
Releases
TandemEngine 0.17.1
Fixes
- The Setup Guide no longer refuses a model switch after a long session (SRV-953): its memory check adds up the three parts a stop frees (the allocator's reserve, the KV pool's pages and the process's memory;
/healthmemory.stop_frees_gb), where it took only the largest of them. A stop can free a little more than that sum. An apply sent while requests run now waits for them (10 minutes at most) in place of a 409busy. - A reasoning close that the model writes as its very first token now ends the block the prompt opened (SRV-955). The loop showed the first token to the reasoning budget only while no block was open, so that close went unseen and the answer after it read as reasoning. Hy4-flash's prompt opens the block, and on a short turn the model may close it at once. In TandemApp's Chat the session monitor then closed the block again inside the answer, and
readyreached the client asready</think>\n\nready. A reasoning budget could close inside such an answer the same way. Any other first token is handled as before, so every other turn's text is unchanged. - A Hy4-flash start now loads the conductor's first decision model, laya-english, and
/readyzanswers 200 (ENG-609). Before, every Hy4-flash start refused the decision models for memory, so/readyzanswered 503 and the conductor ran without them. The other two load on demand when the residency planner finds room: right after a start they loaded, after a burst of requests the planner refused them. Hy4-flash's allocator now runs on expandable segments, as Flash-Next's does. Without them a cold 250,016-token prompt on a side slot took the reserve from 76.4 to 89.35 GiB by row 118,784, while allocated stayed at or under 75.19. With them a cold 129,951-token prompt on that slot held it at or under 77.80. Its profiles' ceiling and peak are now 79 and 81 GiB (85 and 92 before), from the measured load and prompt workspace (CostModel.workspace_cap, 2.25 GiB). Ten greedy texts (two 3,465-token prompts and an 8-request burst) came out the same as 0.17.0's, which runs without the setting.
TandemEngine 0.17.0
TandemEngine 0.17.0 adds Tencent's Hy4-flash, served from two of our EXL3 packs on one DGX Spark: hy4-3.56 (the default, 112.38 GB) and hy4-3.08 (103.1 GB). Both repositories are public, so the Setup Guide downloads them without a Hugging Face token.
Upgrading a box
- Re-run the installer at the new tag:
curl -fsSLO https://raw.githubusercontent.com/TandemLLM/TandemEngine/v0.17.0/install.sh && bash install.sh. - The chat mode keeps working with TandemApp 0.16.0's wheel: it is an extension of interface 3.2, and this engine hosts 3.3. A 3.2 extension starts and sends no close counts.
- The 27B rebuilds its disk caches once. Flash-Next keeps its own.
New in the engine
- Hy4-flash: up to 8 chats at once on lanes that take turns, text only, up to 262,144 tokens. Its own DFly2 layers draft with the lookup, and the drafted text equals the plain text. A chat keeps its state between turns: the engine reads each answer again on the prompt pass, so a follow-up equals a cold read.
- Structured outputs beside tools in the arg-key call form: a request with tools can ask for a JSON answer on Hy4-flash, and on Flint with thinking off. Before, that was a 400.
- With thinking on, every model keeps room for its answer, whoever set the cap, and a drafted answer equals the plain one under a cap.
- Fixes: a client that leaves while the round runner waits for the GPU no longer faults the engine, the 27B keeps answering when a short chat follows a long one, and a stopping server waits for each request's thread.
Known limits
- On
hy4-3.56a resumed follow-up sometimes decodes 20 to 42 % slower than the same turn read cold. The cause is not found (SPD-335). - Hy4-flash's prompt pass costs about 100 ms a call (SPD-337).
- A Hy4-flash follow-up reads again from the first token where the client's copy of the answer tokenizes differently from what the model wrote.
- A Hy4-flash chat with thinking on that loses its lane reads itself again from the last 4,096-row grid line when it comes back (SRV-947).
- On the 27B a seeded drafted answer can differ from one send to the next (ENG-573).
- Beside tools, a choice or a regex document can lose its branch to a call when the answer starts with whitespace, and an answer on the document's side shaped like a call is read as a call (as before on the XML form).
- On Hy4-flash a document beside tools can take the
<tool_calls>wrapper's ids inside a free string, and the calls' side can take the wrapper spelled out. Neither has been seen. - Flint serves tools beside a document with thinking off only, and only CPU tests check it.
- On Flash-Next a turn that resumes off the 4,096-row grid is held to the greedy-token test, not equal to a cold read bit for bit.
Every entry is in CHANGELOG.md.
TandemEngine 0.16.0
TandemLLM is now two projects. This repository is TandemEngine, the inference engine: the OpenAI-compatible API with its health and metrics. Everything else moved to TandemApp, which has its own releases from today. The old address, 0xBakeer/TandemLLM, redirects here.
Upgrading a box
- Re-run the installer at the new tag:
curl -fsSLO https://raw.githubusercontent.com/TandemLLM/TandemEngine/v0.16.0/install.sh && bash install.sh. - The engine serves no page any more:
/dashboardanswers 404no_ui. Run TandemApp for the page and point it at the engine. - The chat mode still works. The engine loads TandemApp's conductor as an extension: install with
--with-chat --app-wheel FILE, where FILE istandemapp-0.16.0-py3-none-any.whlfrom TandemApp's 0.16.0 release. - If your configuration still sets
QSE_BACKENDS, the engine stops before it starts and says what to do.tandem-app import-backends --from <file>copies those backends into TandemApp's controller.
New in the engine
tandem remoteruns the engine host over SSH. It starts, stops and upgrades it, and it can wait for an idle moment before a restart.- Extension interface 3.2: an extension can answer
SET_CONSTRAINT, for example with a JSON schema, and the engine applies it with its own grammar. - One model in two processes across two Sparks, for LFM2 MoE and Flash-Next.
- An FP8 long-context cache for every model with attention layers, off by default.
- The documentation is
docs/alone, and a website now: https://tandemengine.0xbakeer.com. The LaTeX manual's chapters are pages there, with a reference generated from the code. The release has no manual PDF.
Every entry is in CHANGELOG.md.
TandemLLM 0.15.4
TandemLLM 0.15.4 fixes the charge that made short turns on long chats wait minutes for memory, and adds an Export button to the Dev view's log. The docs now explain the wait for memory, a chat's priority, the swap of long chats to the SSD and the dashboard's lanes.
A turn is charged what it reads
- A turn on a long chat is charged the rows its prefill forwards, not a cold read of the whole chat (SRV-801). Slot 0 had no share of its own conversation: on a user's box a turn charged 212,938 rows (10.75 GiB) waited 148.6 s for that memory and then forwarded 449.
- The gate prices the served prompt, with the server's notes in it. A regenerate or an edit asks the slot's rows where its prefill will resume, and a next turn whose copy leaves out the last answer's reasoning is charged from the end anchor, so the last answer no longer counts twice.
- Before the first forward the server raises a request's own reserve when the rows it forwards need more, or the lane gives way before the forward allocates. The floor a prefill's pages commit under holds the chunk the turn forwards, not a whole 4,096-row chunk.
- A retry that frees nothing prints its line once, then a count once a minute, instead of eight lines a second under
--verbose. - On one DGX Spark with Flash-Next 3.05, a synthetic chat of about 203,000 tokens and short turns on it, every request line had its charge equal to the rows it forwarded. Open: a cold read takes 0.37 to 0.44 GiB more host memory than its reserve, cause not known (SRV-805).
Log export
- The Log panel's Export button saves every line the server keeps (the newest 10,000, all levels) as one text file with a header: version, commit, uptime, time of export in UTC, line count, whether older lines left the ring, and whether
--log-contentis on (SRV-803). The route isGET /v1/dashboard/logs/export. The file follows the log's no-content rule; the standalone proxy's file sayslog content: unknown.
Docs
- Waiting for memory: what a client sees, the line by priority and arrival, the bounds (
QSE_MEM_WAIT_Sdefaults to 10800, not 600 as the table said), the 503memory_wait_timeoutand how a turn is charged. The Chat tab's Memory priority control,tandem.priorityandwait_for_memoryin the HTTP reference. - The session spill is called what readers search for, the swap of long chats to the SSD, and kept apart from the park. The dashboard docs describe the Lanes panel, a request held for memory and the export.
No file under engine/ or tools/ changed, so every family's fingerprint stays and 0.15.3's cache files and spilled conversations carry over. CHANGELOG.md lists every change.
TandemLLM 0.15.3
TandemLLM 0.15.3 fixes a server that refused requests with memory_full after a day of use, and lets long chats wait for memory and share the box instead of being cancelled. Flash-Next prefills long prompts faster and drafts past 32k again. Ten pull requests from four contributors are in it: Ada kernels, every GGUF quant type on NemotronH, strict HTTP framing and the engine's context in usage among them.
Memory that comes back
- Flash-Next's CUDA graphs are captured on their slot's own stream and dropped together (SRV-795). Each graph kept a private allocator pool that nothing reset: after 29 hours a server held 3,905 pools and 33.0 GB, 21.2 GB of it free and unreleasable. The KV pool's reclaim now drops idle sets after the caches and before any conversation's rows, and
QSE_GRAPH_POOL_GIB(8) caps their growth. Over an 8.4 h run of 758 requests the pools peaked at 9.87 GiB. - A request short of memory waits at the KV pool's floor and goes on (SRV-797). The admission and the pool used two floors, so a 49k turn was admitted, refused at its first page and given way 16 times before it ended with
memory_full. A refused lane now gives way alone and during its prefill too, and backs off. - A streamed request waits up to 3 hours for memory, with an SSE comment every 15 s. A request not streamed gets a 503 with
Retry-After, or the long wait withwait_for_memory: trueorX-Tandem-Wait-For-Memory: 1.
Long chats side by side
- A chat has a priority for memory, normal by default (
tandem.priority). Waiting requests stand in line by priority, and the reclaim takes lower-priority chats first. - An idle conversation is written to the NVMe while its rows stay, a side slot's before its pages go, and a returning chat reads it back. A turn is charged the rows it forwards, not a cold prefill.
- On one DGX Spark with Flash-Next 3.05, five chats of 221k to 225k tokens, with room in the KV pool for four, took a turn at once in 32 to 68 s each with the session spill on, and 659 to 894 s with it off. docs/caches.md has the table and its limits.
- A compaction's summary is one more turn of the chat's own request: 36 to 38 s at 212k, where it read 100k to 194k tokens again before.
Engine
- Flash-Next's long-context prefill selects its blocks with a radix select and fused scores (#158): a cold 185k prompt in 198.4 s, 312.2 s on 0.15.2.
- Flash-Next drafts past 32k again (#159): 62.8 tok/s at 60,907 tokens of context, 37.6 on 0.15.2, with the same text.
- Ada (sm_89) Triton kernels with load-time verdicts (#144); every ggml quant type on NemotronH's GGUF loader (#143).
Server and chat
--usage-context enginereports the occupied context inusage.prompt_tokens(#140). The HTTP server drops a stalled client after 60 s and frames bodies strictly, and the relay keys its login throttle on the TCP peer (#37, #42).- Plan mode runs read-only tools; chatd's grep reads files up to 16 MiB (#65); every weight card states its slot count (#163).
Flash-Next 3.05 writes the same text as 0.15.2. Every family's fingerprint moves once, so prompt-cache files and spilled conversations are rebuilt once. CHANGELOG.md lists every change.
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.
TandemLLM 0.15.1
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.05and the Setup Guide download it at the commit the profile pins and check its sha256. Without the file the drafts stay plain coupled, and/healthsays 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
/healthwhile the GPU runs the next joint pass. The collector stays out of its rounds. /healthbuilds 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
/healthcounts it inmemory.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
ClassErrorevery 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_editat xhigh (SRV-763). A migration setsundecided_class: chaton 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.
TandemLLM 0.15.0
TandemLLM 0.15.0 serves 8 requests at once by default and rebuilds the path they share.
Lanes
ops/serve.env, the Setup Guide and every family with side slots run 8 lanes on the KV pool, each lane with the full window.- A lane the pool refuses while others run gives its pages back and goes on in the same answer once memory frees. Alone, it stops with
memory_full. - Ornith builds side slots.
The round
- One thread runs every lane's round: one packed draft, one joint verify pass, the walks and commits.
- The 27B's joint pass takes 64 rows on EXL3 weights and runs from CUDA graphs once its shape has come 4 times, every lane's rows bit for bit its own verify.
Prompts and sampling
- Requests that arrive together on an idle engine prefill before any of them decodes; on the 27B's EXL3 packs prompts of up to 512 tokens run in one forward, each row its own prefill's bits.
- A sampled request that names no filter takes the model card's top_k and top_p (Qwen3.8-27B: 20 and 0.95). One without a seed draws its own and takes the keyed walk, from the same distribution.
Fixes and cards
- A raw request that offers no tools gets its answer streamed as text.
- Flash-Next captures the context classes ahead of a conversation, so a long first turn drafts.
- A Flash-Next draft step keeps the verify block's records until its commit, which fixes an HTTP 500 on a 4,024-token request.
- Every weight card shows a speed row of this build, from decode alone to 8 requests at once.
- Nemotron 3.5 Bolt EXL3 4.0 packs its lanes' drafts and takes the joint plain step where drafts do not pay: 92.2 tok/s in total at 8 requests at once on its card (temperature 1.0, 512 tokens each).
Text and caches
- Two summation orders move on purpose, each held by a gate: the 27B's prompt reading (top-1 64 or 65 of 65 at 2K, 8K and 32K) and Flash-Next's tensor-core mixers (top-1 98.8 to 99.6 %). Greedy text can part from 0.14.2's at a near tie.
- Every family's fingerprint moves once, so 0.14.2's prompt-cache files and spilled conversations are rebuilt once.
Measured
27B ThinkingCap EXL3 4.0, one DGX Spark, 2026-10-26: 8 lanes at a 262,144-token window, suffix store off, raw path. N requests of 512 prompt tokens at once, 512 tokens each; total wall tok/s, median of rounds 2 and 3.
| N at once | 1 | 2 | 4 | 8 |
|---|---|---|---|---|
| greedy | 42.5 | 73.5 | 108.9 | 155.9 |
| temperature 1.0 | 36.5 | 62.9 | 99.2 | 146.2 |
One prompt, greedy, first token: 1.90 s at 2,048 tokens, 6.76 s at 8,192, 29.4 s at 32,768.
TandemLLM 0.14.2
TandemLLM 0.14.2 fixes what an outside test of Ornith found, and the bugs we met on the way. With thinking off, reasoning that a model writes into its answer anyway now goes to reasoning_content. Ornith answers up to its card's 131,072 tokens when a request sets no limit, and at 131,072 tokens and above it decodes plain instead of drafting slower than plain. The Setup Guide no longer offers Ornith parallel chats its engine cannot run, and it sets the thinking effort for every model. cache_prompt: false reads the whole prompt and leaves the caches as they were. The lookup corpus is built for each model's tokenizer after its download. tandem-dash serve starts without the engine installed. No fingerprint moves: every model writes the same tokens as in 0.14.1 and keeps its saved conversations. Every change is in CHANGELOG.md, and the PDF below is the manual.
Answers
- With thinking off, the text before the first
</think>that stands alone on its line, outside a code block, goes toreasoning_content, and usage counts it as reasoning (#93). This applies to every model, and only when no<think>of the model's own came before the tag. A block the model opens at its start is read as reasoning, and an empty pair is dropped. Streamed, the text before the tag has gone out already, so only the tag line is dropped. A tag inside a code block or in a line of text stays, and so does every tag after the first. The report's 4 long contest answers wrote everything intocontenton 0.14.1. Replayed on Ornith 4.0, two now carry their working-out inreasoning_content(1,536 and 68,172 characters) and only the answer incontent, the empty pair is gone, and the block opened at the start reads as reasoning. Flint's answers to 10 greedy asks with thinking off are byte for byte those of 0.14.1. Ornith gets no thinking-off line like Flint's: one cleaned 3 of the 4, but it cut the median ordinary answer from 506 to 362 tokens greedy. - A family whose template reads one system prompt first gets its thinking-off line at the end of that prompt. A developer message there made Ornith's template answer 500 (#93).
- A request with no
max_tokenson Ornith's profiles can write up to 131,072 tokens, the limit its card evaluates with (#96). Every other profile keeps 32,768. The longest answer in the report, at effortxhigh, was 39,046 tokens./v1/modelsshows the value astandem.max_output, and a request's ownmax_tokensstill wins, clamped to the window. A box the Setup Guide set up for Ornith before 0.14.2 keeps the 32,768 inrun/setup.envuntil the field is changed. docs/setup.md says how ("The answer limit"). - When several requests arrive together as a fresh server's first traffic, none answers 500 with "no tool-call format 'xml'" any more (SPD-185). The tool-call formats were marked found before their modules had registered, and with parallel slots three of four requests in such a burst failed. The formats are now found once, under a lock.
Ornith
- Ornith's price file has the measured cost of the MTP head's backlog, the prompt rows the head reads before a turn's first draft (#110). Before, a fresh server's first long turn always drafted and paid it: 87,717 rows in 4.6 s at 112k tokens, 109,443 rows in 10.2 s at 220k. Greedy, one run each: at 112,068 tokens the turn now takes the plain step at 25.11 tok/s, where drafting ran at 18.04 against 25.16 plain. At 220,038 tokens it runs at 18.85, where drafting ran at 10.95 against 18.89. At 3,525 tokens it still drafts, 40.9 against 37.4 plain.
- The Setup Guide stops Ornith at one parallel chat and says why under the stepper (#104). Its engine builds no side slots yet, so the server ran one slot while
/healthshowed the count asked for. Eachmodel.yamlnames its engine family, and the family'sServeSpec.side_slotssays whether it builds side slots. With--parallel Non such an engine,/health'sparallelnames the one slot and why. The other families keep the engine's 16.
Caches and drafting
cache_prompt: falseon a request is honoured as a cold read (#98). It reads the whole prompt (timings.cache_n0), uses and writes no state-store entry, disk-tier anchor or end anchor, and the response cache neither answers it nor keeps its answer. The conversation in place is set aside as for another client's and is where it was for the next request.true, a missing field and any other value keep the caches on. In the report, 32 of 37 requests that sentfalsehad reused cached tokens. docs/server.md has acache_promptsection.- The lookup corpus is built for the served model's tokenizer after its download (#97). One store a tokenizer sits under
CORPUS/tokenizers/<16 hex of the tokenizer's sha256>/.ops/use-profile.shand the Setup Guide's install build it once the weights are complete (about 31 million tokens, from one English and one German Wikipedia shard and local Python sources).install.sh --setupdownloads the two shards (1.2 GB) and setsCORPUS, andops/start.shpasses the engine the store of the served model's tokenizer. A failed build logs a line and the switch goes on, andQSE_CORPUS_BUILD=offskips it. ACORPUSthat records no tokenizer is read as before. The speed with and without the corpus is not measured yet. - docs/caches.md says why the first request after a restart can report a resident hit: the drain's conversation is read back at the start (#94).
Conductor and memory
- A model whose prompt has no place for the conductor's notes gets none, and its turns say so (SRV-703). The conductor puts its notes before the last message's
<|im_end|>, and Flint's template ends no message with a token. On Flint every turn of a profile with memory on found no place: 1,456 turns in a day carried the errorno_insertion_point, 199 of them with memory on, while the decision rows saidmemory: on. A family's fit has anoteskey, Flint's is false, and such a turn recordsmemory: {mode: off, why: model_notes}. Nothing went into Flint's prompt before either, so it writes the same text. - Profiles have a fourth memory switch,
none: nothing added, as an absent key meant. Every shipped profile sets its switch:oninchat,coding,hermesandchat-app,nonein the others. A box's stored profiles keep what they hold. - The Notes tab has a "Where memory is on" panel: the served model when it reads no note, and every profile with its switch and its clients.
Setup Guide and docs
- The Setup Guide sets the thinking effort (
low,medium,xhigh, defaultmedium) for every model, as it did for the two Qwen models (#100). docs/setup.md has a section on it, and the cards, docs/tool-eval-bench.md and docs/flint.md name the effort of each published number. Speed rows are greedy with thinking off. A fresh install thinks atmedium, and the tool-eval-benchtoolsrows of the 27B and Ornith ran atxhigh. - docs/server.md lists the
timingsandmetricsfields, which chunk of a stream carries them, and the two draft formulas:tokens_per_block = (completion_tokens - 1) / blocks, alsomean_acceptance_length, anddraft_acceptance_rate = draft_n_accepted / draft_n(#99). - The manual's ledger table closes the group its last paragraph opened, which held to the end of the book (#126).
Chat tab
- The page check and the browser drive close their Chrome in about 0.1 s (#131). The kit sent SIGTERM to Chrome's whole process group, so its helpers died at once and the browser process, waiting for them in its shutdown, sometimes stayed up until the SIGKILL 5 s later: on CI runners 3 closes in 200, and 17 in 200 with the CPUs busy. The SIGTERM now goes to the browser process alone, which ends its helpers, and to the rest of the group once it is gone. On the same runners 0 closes in 400 took more than 1 s.
Install and dashboard
tandem-dash servestarts without the engine (#108). It exited withModuleNotFoundError: No module named 'engine', as the standalone proxy shipsproxyandserveronly. The conductor reads its knobs throughserver/knobs.py: the engine's registry where it is installed, else the environment with the same defaults.- The dashboard's tests run on
vitest5.0.3, for two moderate advisories in@vitest/mocker5.0.1 (#128). Nothing of it is indashboard/dist.
Tests and CI
- CPU-job tests that failed at random are fixed at their cause (#113, #120, #122, OPS-231). The disk-tier tests wait for a staging slot, Flint's and LFM2's structure checks run in fp64, the page check bounds Chrome's start and not the whole check, and its test starts Chrome once before it times a start. The page check's Chrome picks its own debugging port. The preview's long-poll stops watching the client once its answer is complete, so a client that closes after the answer leaves the relay to end by itself. The proxy gate's tests hold a kept retry to the gate's own bounds.
- The dashboard's size budget measures with
pako, zlib in JavaScript, sodist/gets the same gzip size on every Node (#130). Node's own zlib depends on how Node is built: the same bytes read 470,034 with stock zlib and 471,208 on the official Linux builds, against a budget of 471,040, sonpm testfailed on Linux. The bundle sits 1,006 bytes under its 460 KB. tests/test_manual_braces.pychecks that every table the manual's generator writes closes each brace it opens (#126).
#...
TandemLLM 0.14.1
TandemLLM 0.14.1 fixes how Flint's tool calls reach a client and how it answers with thinking off, and moves model code behind adapters. A call's argument names are matched to the offered tool's schema, so Flint's read with path reaches opencode as filePath. A call to a tool the request did not offer goes to the offered tool of its kind. With thinking off, Flint answers without writing its reasoning into the answer. Flint can keep its full layers' keys and values in e4m3, off by default. Each model family now registers itself and declares how it is served, and shared code names no model. The other models write the same text as in 0.14.0 and keep their saved conversations. Flint's fingerprint moves once, so its saved prompt-cache entries from 0.14.0 are rebuilt once. Every change is in CHANGELOG.md, and the PDF below is the manual.
Tool calls
- Argument names are matched to the tool's schema before a call leaves the server (SRV-691), on both paths and in every tool-call form. A name is kept when the schema has it. Otherwise it is matched by case,
_and-, then by a small synonym table: a path for the schema's one path-like parameter,query/pattern/regex,cmd/command,content/text/contents. A rename happens only when exactly one parameter is the target and the call has not set it. A value is never changed, except to take its target's JSON type. A stream renames a key as soon as it is decided, so the streamed call and the parsed one agree. The journal records each rename (ARGS, RENAME). Through opencode's checks at Flint 4.0's card sampling, 8 runs an arm: calls the client refused fell from 4 to 0 under the conductor and from 2 to 0 raw, and the checks passed went from 28 and 29 of 32 to 32 of 32. - A call to a tool the request did not offer (SRV-693) goes to the one offered tool of its kind when its arguments then name that tool's required parameters. A search or a listing with no such tool becomes a quoted
greporlsfor the client's bash tool. A write, edit or delete never becomes a shell command. Anything else goes out as written, and the conductor's C4 asks for it again with the offered list. - The conductor's call checks read the calls as the client receives them, after the renames (SRV-691).
tools/client_smoke.py --sampling cardruns the tool checks at the server's default sampling (SRV-692). The release gate stays greedy.
Flint
-
With thinking off, Flint's prompt gets one line before the conversation: "Do not show your reasoning. Reply with the answer, or call a tool when one helps." (SRV-697). Without it, Flint opened its answer with reasoning on 7 of 10 hard asks greedy and 13 of 20 at its card's sampling, with a median of 582 and 600 tokens (600 was the cap). With the line it did so on 0 of 10 and 0 of 20, with a median of 153 and 116 tokens. On tool-eval-bench (4.0, raw path, thinking off, one run each) it scored 75 with the line and 77 without. Thinking on is unchanged.
-
Flint's requests keep system and developer messages where they stand, with their own role, since its template renders them in place. The 27B's rule (one system prompt first) is now the default family setting, unchanged for the other models.
-
FLINT_KV_FP8=1keeps the 14 full layers' keys and values as e4m3 codes with one fp32 scale a (head, token): 14,784 bytes a token instead of 28,672 (SPD-150). This changes the output, so it is off by default. On 4.0 against the exact cache, the last 1,024 tokens of a 32,768-token source file read at KL 0.070, 93.8 % top-1 agreement and perplexity 7.465 against 7.165. At 122,880 tokens the numbers are KL 0.050, 95.7 % and 4.132 against 4.053. Plain decode runs at 79.4 tok/s against 60.6 at 64k, 57.1 against 39.3 at 128k and 36.6 against 23.05 at 256k. Prompt reading is 5 to 12 % slower. docs/flint.md has the table.- To turn it on in the Setup Guide, pick Flint, go to the Tools step and switch on "Long-context cache (FP8)" under Features, then finish Review and Install. The switch shows the cost and the gain, and the memory bar counts the smaller cache.
- To turn it on from the command line, add
QWEN38_FLINT_KV_FP8=1at the end of~/TandemLLM/run/ops/serve.envand run~/TandemLLM/bin/tandem restart./healththen shows"kv_cache": "e4m3"underweights. To turn it off, delete the line and restart, or switch it off in the Setup Guide.
-
tool-eval-bench on Flint's three profiles: bench 2.8.1.dev13 (commit f2e368b), seed 42, temperature 0, one run a row (n=1), the Setup Guide's Flint defaults (one slot, effort medium by default, FP8 cache off), BF16 at a 131,072-token window, 2026-10-22. Score, then the time the row took. Raw rows send
X-Tandem: raw;bench-pkis a test profile we do not ship. Hard mode at n=1 varies a lot between runs, so we claim no ranking between the sizes. docs/flint.md has the chart and models/flint/measurements/2026-10-22-tool-eval-bench.json every row.
| row | EXL3 4.0 | EXL3 6.0 | BF16 |
|---|---|---|---|
| full suite, 69 scenarios | |||
| raw, thinking off | 75 (2 min) | 76 (3.1 min) | 76 (4.7 min) |
| raw, thinking xhigh | 85 (4.7 min) | 86 (11 min) | 86 (21.5 min) |
conductor, bench-pk |
81 (5.1 min) | 86 (8.9 min) | 83 (16.8 min) |
conductor, tools |
83 (4.1 min) | 86 (6.3 min) | 84 (15.3 min) |
| hard mode, 28 scenarios | |||
| raw, thinking off | 36 (1.8 min) | 41 (2 min) | 41 (4.3 min) |
| raw, thinking xhigh | 71 (5.5 min) | 61 (8.6 min) | 62 (19.9 min) |
conductor, bench-pk |
73 (3.5 min) | 61 (5.8 min) | 57 (12.8 min) |
conductor, tools |
80 (2.2 min) | 54 (4.4 min) | 70 (12.8 min) |
Model adapters
- Each family registers itself in its package's
arch.pyand keeps its own knobs inknobs.py(ENG-405). Adding a model edits no shared file. - A family's
ServeSpecsays what the server needs: the tool-call form, how the model opens and turns off its reasoning, and where system messages may stand (ENG-406). The identity note names the model from the profile's card and has no default model. - The tool-call forms (XML, Pythonic, arg-key) sit behind one
ToolFormatinterface inserver/toolformats/, held to one contract bytests/test_toolformats.py(ENG-407).engine/grammar.pyis back to its 0.13 bytes. - A family declares which of its files others build on and which it uses from others, and kernel launch options come through
EngineHooks(ENG-408). A change to a shared file moves exactly the declared dependents' fingerprints. - Community-pack rules live in each base model's
model.yaml, and its profile writer and pack check live in its family (ENG-409). The 27B's builder, drafter stack and side slots moved fromserver/app.pyintoengine/models/qwen3_5/serving.py(ENG-406, ENG-410). - Guards hold this (ENG-404). They check v0.14.0's fingerprints as goldens with only Flint allowed to move, and they freeze
SAME_ROWS. They also check that a change in one package moves only the adapters that hold it, and lint the shared modules for model names. docs/adding-a-model.md says what a family declares.
Tests and CI
- The CPU job on GitHub runs every test file, and a failure fails it (OPS-231). Timing tests bound CPU time against a reference measured in the same run, the two fp32 references bound their error in ulps, and the padded-row check bounds its difference by 2 % of the largest value, a quarter of what padded rows that move the state change. The shared-module lint reads f-strings the same on every Python. The slow-subscriber test gates its reader, and the drain test waits for its signal handler. The gate's fake engine runs in a process of its own. A test server binds before its port is read (
--port 0works), and helpers that need a port up front take one from a locked counter.