Commit Graph
1 Commits
Author SHA1 Message Date
Niko1221 3ec28f5cc0 DeepSeek engine: tail restore point judged by its cost (A2), per-class path calibration (A5), sampler/lane/bf16 fixes, DS4_ASYNC_T 16
Taken from Project Maya (MIT), staged against v1.1.42:
- A2: the tail restore point is left out where its read stop costs more than
  reading its tokens again (TailCost wired into the serve loop; one in 32 still
  kept to measure again; STRATA_DS4_RESTORE_TAIL_AUTO=0 keeps it always). Maya
  #668 (mw00, 8721412 and 66fb17b).
- A5: the flow timing correction of the opt-in timing pick stays in the prompt
  size class that measured it (ds4_path_policy.hpp + test). Maya #612 (Will
  Hampson, 6e0d27d). Our default pick is by length already.
- A sampler CUDA error ends the request instead of sending token -1; logits()
  copies on the head stream. Maya #619 (Cody Harrison, 2040174).
- A CPU-lane layer that cannot compute its experts stops the engine instead of
  answering zeros; a layer with no GPU kernel is refused at load, any other
  warns. Maya #620 (Cody Harrison, e598716).
- bf16_rn by arithmetic on CUDA too. Maya #676 (rilken, 79628d7).
- DS4_ASYNC_T default 8 -> 16: windows of 9-16 rows take the same device path
  as 1-8. Maya #608 (mw00, b9c07e7). DS4_ASYNC_T=8 gives the old path.
2026-10-31 01:08:29 +01:00