Skip to content

sushi v1.9.0-dev1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Nov 08:39
· 5 commits to main since this release
fc1c3d8

Unreleased

  • Reading a long conversation back from SSD no longer holds up other replies: a Hy4-Flash or DeepSeek-V4.1 conversation restored from the SSD cache is read in a few large reads in the order it lies on the disk instead of one small read per block, and the requests already streaming keep streaming between its parts; every model's cache files load with fewer reads.
  • DeepSeek-V4.1 with several requests drafting at once: grouped DSpark rounds now run on the model's fixed memory plan like single-request rounds, and their GPU kernels are built at load, so the first such round no longer compiles inside a request; a rebuilt sushi.metallib always invalidates the saved pipeline cache.
  • A conversation's next turn reuses the whole last reply more often, and the SSD cache keeps more of it: a prompt whose history the tokenizer spells differently from the tokens the model generated is now matched to the cached reply by its text, so the turn restores at the reply's end instead of prefilling the reply again and storing a second copy; the SSD budget counts bytes on the disk (shared rows once) and evicts the conversation that frees room, after dropping restore points no later turn can use; a DeepSeek-V4.1 or Hy4-Flash prefill writes restore points only on the 8192-token grid; Qwen keeps two restore points in memory for each request it serves at once; and reasoning_tokens counts the tokens the model generated.
  • Rewound turns and cached speculative replies keep only what they use: a Hy4-Flash turn that rewinds its conversation (an edit, a regenerate) after a reply that reserved more room than it used reuses its live state again, and a Qwen3.8-Flash-Next reply cached with speculative decoding no longer holds the memory its max_tokens reserved.
  • Concurrent Qwen requests speculate again and keep their reply's cache point: Qwen3.8-Flash-Next requests decoding at once no longer lose speculative decoding for the rest of the server's run after another request's prefill; a turn that ends while it decodes beside others leaves its restore point at the end of its reply, so the next turn re-reads none of it; and on Sushi Cooler a turn that ended on a speculative round resumes its MTP head there.
  • Cleaner tool-call, stop-sequence and multi-thought handling: a <tool_call|> closer a model quotes no longer hides a later tool call, client stop sequences match across structural tags in both streamed and whole replies, stored history, continued thoughts, reasoning budgets and reasoning token counts carry no internal markers or split UTF-8 bytes, a stray closer before <|channel> or <think no longer routes visible text into reasoning, and streamed replies match whole replies across multi-thought turns and unfinished tool calls inside closed thoughts.
  • Logs and metrics that add up under concurrent requests: the log file stamps each line with the time since the server started, and every line about a request ends with its req=N; /v1/responses logs its prompt and reply lines like chat; /metrics separates waiting, prefilling and decoding requests, counts held-restore-point hits apart, and its histograms reach 300 s and 1M tokens; /props reports the model's max_concurrent as total_slots, the ledger's own memory peak, and the drafter that really drafts; timings.prompt_ms no longer includes the prefix-cache restore.
  • A conversation's next turn starts without reading its cache back: a DeepSeek-V4.1 load that batches requests and a Hy4-Flash load now keep each conversation's state in memory between turns, one for each request the load runs at once and given back oldest first when a request needs the room, and with --prefix-cache-mem set the RAM tier keeps one conversation per concurrent request the same way, protecting entries held live by active requests and asking concurrent callers to wait and retry instead of refusing them as too large while those entries stay pinned.
  • Requests no longer queue behind a long prompt: while one request reads a long prompt, a request that arrives starts between two chunks of it where memory and the model's request limit allow, a short one answers first, and a reply that finishes frees its slot immediately instead of waiting for the other prompt to be read.
  • Think penalty and logit bias removed: --think-penalty, per-model think_penalty / logit_bias_file, the Shorter thinking WebUI control, and vocab logit biasing are removed; saved model-settings.json files holding those keys load with a warning, non-zero think_penalty or non-empty logit_bias request fields return 400, and tool_choice: "none" ends the turn at the call opener across all models.
  • Long image conversations keep their cache: a DeepSeek-V4.1 conversation with many images no longer fails its prefill over the memory cap after restoring from the SSD, and a follow-up turn that adds an image reuses the cached rows past the earlier images instead of prefilling half the context again, and Hy4-Flash reuses them the same way (thanks @InfernalDread for the report and @lin16303 for the log, #135).
  • Faster model loads with no kernel compiles: every Sushi Cooler kernel ships precompiled in sushi.metallib, and a repeat load of a pack makes its GPU pipelines from a cache on disk instead of compiling them, so Hy4-Flash STQ 2.25bpw is ready in 53 s on a first load (84 s before) and a repeat load compiles nothing; a repeat Hy4-Flash load also reads back its memory plans instead of recording them, so it is ready in seconds. The download grows by about 84 MB.
  • The models folder picker says why a folder will not open: a folder on an external drive that macOS privacy settings keep from sushi is no longer called "Not a folder"; the picker names the permission and where to allow it in System Settings, and a saved folder it cannot read is no longer swapped for a parent folder.
  • DeepSeek-V4.1-Flash STQ 2.7bpw on 64 GB Macs: sushi pull and sushi list count it as fitting from 64 GB, where its experts stream with --expert-cache-bias as Samuel Reed's guide shows; it is still recommended from 256 GB, where every expert stays resident.