perf: opt in to resident expert exchange buffer rotation
Extract rotation and atomic ownership publication from aa6e0e3 and 1a50d91 onto upstream a1641e9. Preserve current host-memory tests. Include one historical token-identical A/B with explicit provenance and document fresh CPU/CUDA validation.
This commit is contained in:
1 parent
5288cd2902
commit
1e6cec80d1
9 files changed
+594
-11
No files matched your search
@@ -2498,8 +2498,7 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
ss.db = &db;
|
||||
|
||||
// ================================ THE PLE ================================
|
||||
//
|
||||
// ================================ THE PLE ========================= //
|
||||
// **ITS ABSENCE IS WHY GATE C1 FAILED** (LEDGER L123): layer 1 carries six `blk.1.ple_*` tensors, the whole
|
||||
// module was built and parity-tested, and nothing called it. Everything below is construction - the table
|
||||
// is a mapping of the ORIGINAL second GGUF shard, the six weights are already loaded in the arena, and the
|
||||
@@ -8004,6 +8003,11 @@ int main(int argc, char** argv) {
|
||||
std::fprintf(stderr, "strata serve: asynchronous adaptive tier: %lld rounds, %lld experts swapped in, "
|
||||
"%.1f ms per round (start to flip, between windows)\n",
|
||||
(long long) a_rounds, (long long) a_swapped, a_rounds > 0 ? a_ms / (double) a_rounds : 0.0);
|
||||
=======
|
||||
if (src.exchange_rotation())
|
||||
std::fprintf(stderr, "strata serve: exchange rotation: %llu blocks, %llu host memcpy bytes avoided (cumulative payload)\n",
|
||||
(unsigned long long)src.rotated_exchanges(),
|
||||
(unsigned long long)src.avoided_exchange_copy_bytes());
|
||||
// CS-T: the tiers, cumulative - GPU cache hits (the decode lookups above), RAM copy, files (SSD / OS cache)
|
||||
if (srcp == &src)
|
||||
std::fprintf(stderr, "strata serve: expert tiers: GPU %lld hits this request; since the start RAM %lld blobs, files %lld blobs "
|
||||
|
||||
Reference in new issue
Block a user