mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 15:58:53 +00:00
With the CPU share armed (chunks up to 3,072 tokens by default on a CUDA card) stream_all_min() is the share's limit instead of the default floor. The share takes experts of a native pack only (cpu_maybe needs lay.native), so on the plain Q2_0 pack (the pack setup builds on a CPU with AVX-512) it takes nothing, but its limit still replaced that pack's own floor of 64 tokens in a build without MMQ. Chunks of 64 to 3,072 tokens then took the staged walk, which has neither the staged fused entry nor the int8 kernels for that layout and runs each routed expert on the dequantize + FP16 path: the 1,567-token tail chunk of a 20,000-token prompt, 7.7 percent slower than the build with MMQ on an RTX 5070. The tail buffers of the FP16 path were also sized for 3,071 tokens, which made the automatic chunk smaller (9,216 against 10,496 with the share off). The rule is a small pure header (plain_floor_rule.hpp) with a unit test. A build with MMQ and the native packs are unchanged. STRATA_PF_PLAIN_FLOOR=0 restores the old rule. Settings register and SETTINGS.md regenerated.