Skip to content

TandemLLM 0.15.4

Choose a tag to compare

@0xBakeer 0xBakeer released this 10 Nov 12:42
· 886 commits to main since this release

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-content is on (SRV-803). The route is GET /v1/dashboard/logs/export. The file follows the log's no-content rule; the standalone proxy's file says log content: unknown.

Docs

  • Waiting for memory: what a client sees, the line by priority and arrival, the bounds (QSE_MEM_WAIT_S defaults to 10800, not 600 as the table said), the 503 memory_wait_timeout and how a turn is charged. The Chat tab's Memory priority control, tandem.priority and wait_for_memory in 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.