mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 07:48:45 +00:00
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