Files
Strata/tools
Eddoursul 536bff0423 Merge upstream main (6da1f66): Swift 1.5 support, a short README with the details in docs/DETAILS.md, engine v0.1.2 (streaming tool calls, keep-alives, GET /status, STOP, the expert cache sized once its slots are written)
Where both sides did the same thing, ours stays:
- split models: shards found by name and the experts filled by tensor name, not upstream's native_experts.txt
  shard column and model_shards(); iq_pack.py keeps ours and exports the model's chat template with its tokenizer
- the PLE table's span check
- README: upstream's front page (with the prompt cache under "Good to know"); the unsloth files, the second GPU
  and the prompt cache moved to docs/DETAILS.md

Upstream's engine changes in our code:
- STOP between the prompt path's chunks and before every verify window of the serve loop; a prompt stopped
  part-way leaves the prompt cache's live sequence at the chunks read (Prefill::processed(), ss.ple_prev
  advanced to them)
- the expert cache sized once its slots are written, on the main GPU and on the second GPU (its tier drops empty
  slots while short of --second-gpu-reserve-mib)
- the prompt chunk halves until its buffers fit in the lendable cache slots (the shared prompt-path setup)
- server.py: the engine reader thread with heartbeats and STOP, with our cached-token usage fields and the
  engine generator closed inside the FIFO; a disconnect logs as cancel
- STRATA_TRACE and STRATA_POOL_TRACE, and the VRAM left once everything is loaded (both GPUs)

Claude-Session: https://claude.ai/code/session_01YDx8gSYSbts2783qXv2Nxz
2026-09-26 14:01:21 +02:00
..