mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 07:48:45 +00:00
PcieAuto refines the decode PCIe share (which of a layer's missed experts the GPU computes after a PCIe copy, the rest on the CPU, which rounds differently) at fixed window counts, but the value it picks comes from the measured CPU pool time. On an RTX A6000 (IQ3_S, DFlash2 Auto, frozen table, prompt share 0.5) two of 18 starts settled one reading later (0.10 -> 0.15 at window 144 instead of 48) and gave other tokens from the second request on; with the share fixed at 0.15 12 of 12 traced starts were identical, and identical to the 16 other starts. - The table file gets an optional "pcie" line (0..1). The start that writes the table stores the share PcieAuto has then (its third reading, or what it reached by that request's end) and fixes it from the next request; a start that loads a file with the line runs with that share and PcieAuto off. - A file written before this has no pcie line: it loads as before, PcieAuto refines as today, and once it has settled (three readings, or it gave up) the share is written into the same file and fixed; the next start loads it. - One GPU only (a layer split keeps PcieAuto's per-stage refinement). Same key, same ignore-and-relearn rules; without --draft-costs nothing changes. - draft_policy_test: the pcie round trip, an old file without it, out-of-range and malformed values refused.