Skip to content
SurogateSurogateDocs
↑↓ to move↵ to openesc to close

Release notes

Here is what changed in each Surogate Engine release, newest first.

The full list of changes in every release is on the GitHub Releases page.

  • The kits run on a released engine. 1.5.17 has both fixes the GRPO kits needed after 1.5.16: evaluation with chat_template_kwargs in extra_body no longer crashes, and the engine no longer dies with prefill lane set overflow when more than 64 prompts are staged with 128 lanes.
  • Evals are no longer refused. A whole-set eval (num_examples: -1) used to send every prompt at once, past the rollout server’s queue, and most came back 429. eval.max_concurrent (default 128) caps eval requests in flight, and the server’s queue is sized for them. See the eval options in RL training.
  • The mcp kit’s reward can’t be gamed by a list of names. A name must appear as whole words with no other candidate answer next to it. Rescored, the published result holds.
  • Community Qwen3.5-MoE GGUFs that keep their MTP layer now load and serve.
  • Inkling-2: image input, a DFlash 2 drafter beside DSpark, decision adapters on /v1/decisions, and lossless decode-speed options, all opt-in.
  • Per-request reasoning budgets are enforced across a whole request, and reusable inference prefixes are scoped to a gateway-authenticated tenant.
  • A fifth GRPO kit, mcp: Qwen3.5-2B learns to answer questions by calling the tools of an MCP server (a read-only SQLite music store), from 48.4% to 81.5% on 184 held-out questions in 30 steps on one L40S. Point the environment at your own stdio MCP server to train against it.
  • Its reward counts a right answer in any form, with guards against hedging, so the base model is measured fairly. It uses a lower, decaying learning rate than the other kits: with a constant 1e-4 the agent collapsed after step 20, making more and more tool calls until it ran out of turns before answering.

Four one-GPU recipes, with measured before and after

Section titled “Four one-GPU recipes, with measured before and after”

Each GRPO kit teaches a small model one job with GRPO on a single GPU. It first scores the untouched model on a held-out set, so the run itself measures the before and after.

  • Four kits: countdown (arithmetic reasoning), phone (phone requests to function calls), guard (checking a message against a written policy) and extract (filling a JSON schema from a document).
  • Make your own. Each kit is a task, a reward and three configs; Make your own kit shows how to start from one.
  • The kits need two fixes merged after 1.5.16; see the note under Run a kit.
  • Every engine option on surogate serve. The serve command now accepts the engine options added since 1.5.10, and --max-expert-lora-rank.
  • Adapter banks only where you need them. SUROGATE_SERVE_LORA_MODULES limits adapter banks to the modules your adapters cover, so the rest keep their fast base kernels. See LoRA adapters.
  • Faster images. The vision tower runs faster, and --vision-fp8 runs its projections and, for large images, its attention in FP8.

Release notes

  • Swap an adapter in place. Load a new version of an adapter under the same name while its requests keep running (--lora-swap in-place, or "in_place" on the load call). See Replacing an adapter in place.
  • Know which version sampled each token. Each choice can report the adapter version behind every token. See Which version sampled each token.
  • Choose the NVFP4 expert kernels. --moe-route auto|w4a16|marlin picks how the routed experts of an NVFP4 mixture run, adapters included. See NVFP4 expert route.
  • Structured output waits for reasoning. JSON response formats now let a reasoning model finish thinking before the JSON starts.
  • GSPO. A new loss variant with one importance ratio per sequence. See GSPO.
  • GRPO at 131k tokens on 32 GB cards with dispatch pipeline parallelism, an NVFP4 base and stage-local LoRA. See Long sequences.
  • Thinking guard (1.5.13). --thinking-loop-guard closes a thought that goes round in circles, and --thinking-answer-reserve N closes one that would use up the output budget, so the request answers instead of ending empty. See Thinking guard.
  • Thinking retention (1.5.11). With --thinking-retention loop|all the server keeps a model’s reasoning and puts it back into later turns when a client resends the conversation without it. See Thinking.

Host prefix cache (1.5.12). --prefix-cache-host-gb N keeps conversations evicted from the KV cache in host RAM, so a long agent conversation resumes with a copy instead of a fresh prefill. See Host prefix cache.

  • Rule self-distillation and a teacher per environment (1.5.11). Give the teacher text only it sees (teacher_model.rule), and set a different teacher for each environment. See Rule self-distillation.
  • LoRA serving without a draft head (1.5.11). --enable-lora now starts on models served without MTP, with automatic KV sizing.

Release notes

  • Prompts and tool calls as vLLM renders and reads them. Tool schemas, strict and reasoning are rendered as vLLM does, and --tool-call-parser qwen3_coder|qwen3_xml reads tool calls exactly as vLLM 0.31’s parser. See Thinking.
  • vLLM’s context limits. A prompt plus max_tokens longer than the context is refused with vLLM’s HTTP 400, and /v1/models lists each model’s served context (max_model_len, context_length). See Endpoints.
  • KV cache on demand. --kv-admission ondemand (the default) starts a request as soon as its prompt fits and commits the rest as it generates. See Scheduling.
  • Shared prompt prefixes with MTP. A new agent conversation that shares a long preamble with earlier ones reuses its cache under speculative decoding.
  • KV-aware routing across --data-parallel replicas.
  • CISPO, a new GRPO loss variant (variant: cispo). See the loss configuration.
  • Mixed-precision NVFP4 checkpoints from ModelOpt (W4A16 experts and head, FP8 attention) for Qwen3.5 mixtures.

Release notes

  • DGX Spark (GB10). The trainer and the serving engine run on the DGX Spark, with an aarch64 wheel. See Installation and Compatibility.
  • Hopper (H100, H200). The serving engine now runs on Hopper, with FP8 mixtures, FlashAttention-3 and the shared-prefix cache. See Hardware.
  • One engine per GPU. --data-parallel runs a whole copy of the model on each listed GPU behind one model id. See Pipeline or data-parallel.
  • Base requests stay fast with adapters on. Under --enable-lora, requests that select no adapter run the base kernels.
  • Gemma 4 tool calls and DFlash speculative decoding for every target. See Gemma 4 tool calls.

Fixes for multi-GPU steps with CUDA graphs and ZeRO-2/3, cpu_training full fine-tunes and LoRA, and Qwen3.5 mixture routing.

Covers 1.5.1 to 1.5.7.

  • Ask a model to choose. POST /v1/decisions scores a fixed set of options with one shared prefill and returns calibrated probabilities. See Decisions API.
  • Thinking for unsure questions, option-order averaging and a calibration temperature (--decision-temperature). See Thinking, Option-order averaging and Calibration temperature.
  • Realtime speech recognition over a WebSocket. See Stream over a WebSocket.
  • Text-to-speech that streams, on GPU with --device N, and several requests at once. See Romanian text-to-speech.
  • Usage you can bill: transcriptions report the audio length and TTS reports the characters, and both servers expose /metrics.
  • Row packing that trains the same as padded rows, so every example stays whole. See row_packing in the configuration reference.
  • LoRA on Gated DeltaNet (linear-attention) projections, and ZeRO-3 runs that export the full model.

CUDA 13 is now the minimum. See Compatibility.

Covers 1.4.1 to 1.4.8.

  • Restart-safe GRPO. Rollouts already delivered survive a restart, and a resumed run picks up where it stopped. See Resuming a run.
  • One NVFP4 recipe with weight streaming, and FP8 on Hopper. See FP4 (NVFP4).
  • Faster CPU-streamed training. GRPO steps on streamed hybrid models are about twice as fast, with partial weight residency for PCIe-bound steps.
  • GPUDirect Storage in the released wheels, with a fallback to buffered reads. See Debugging.

Covers 1.3.0 and 1.4.0.

  • Dispatch pipeline parallelism for GRPO, with turn-aware rollout budgeting. See Dispatch Pipeline Parallelism.
  • Long sequences in chunks. Train sequences far longer than activation memory allows, with exact gradients (sequence_chunks). See the configuration reference.
  • Preference datasets ({prompt, chosen, rejected}) for offline DPO. See Datasets.

Next: Installation covers installing the current wheel, and Compatibility lists the CUDA and driver versions it needs.