mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1779] [CLOSED] Add opt-in accepted-token adaptive cache barriers #3669
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3669
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1779
Author: @CC-David-CC
Created: 10/10/2026
Status: ❌ Closed
Base:
main← Head:feat/accepted-token-cache-barriers📝 Commits (6)
4e1075bpipeline-windows: overlap three or more layer-split stages; HIP drafter scratch race482dac5fix: defer pipelined one-token commits to the host verdictf3727b2feat: adapt expert caches at accepted-token barriers860c0daMerge current main and retain accepted-token adaptive barriers4b8e0eefix: resolve blocking barrier adaptation before pipeline admission81f000dPublish current-main accepted-token barrier validation📊 Changes
72 files changed (+138041 additions, -2 deletions)
View changed files
➕
bench/results/2026-10-11-accepted-token-barriers/1779-current-default-off/engine-0.txt(+100 -0)➕
bench/results/2026-10-11-accepted-token-barriers/1779-current-default-off/engine-1.txt(+100 -0)➕
bench/results/2026-10-11-accepted-token-barriers/1779-current-default-off/manifest.json(+290 -0)➕
bench/results/2026-10-11-accepted-token-barriers/1779-current-default-off/result.json(+1844 -0)➕
bench/results/2026-10-11-accepted-token-barriers/README.md(+99 -0)➕
bench/results/2026-10-11-accepted-token-barriers/barrier-default-off-status.json(+7 -0)➕
bench/results/2026-10-11-accepted-token-barriers/barrier-full-exact-1779-17/engine-0.txt(+190 -0)➕
bench/results/2026-10-11-accepted-token-barriers/barrier-full-exact-1779-17/engine-1.txt(+1234 -0)➕
bench/results/2026-10-11-accepted-token-barriers/barrier-full-exact-1779-17/engine-2.txt(+1214 -0)➕
bench/results/2026-10-11-accepted-token-barriers/barrier-full-exact-1779-17/engine-3.txt(+1214 -0)➕
bench/results/2026-10-11-accepted-token-barriers/barrier-full-exact-1779-17/engine-4.txt(+190 -0)➕
bench/results/2026-10-11-accepted-token-barriers/barrier-full-exact-1779-17/manifest.json(+617 -0)➕
bench/results/2026-10-11-accepted-token-barriers/barrier-full-exact-1779-17/matched-history-manifest.json(+618 -0)➕
bench/results/2026-10-11-accepted-token-barriers/barrier-full-exact-1779-17/matched-history-result.json(+8162 -0)➕
bench/results/2026-10-11-accepted-token-barriers/barrier-full-exact-1779-17/proof.json(+2774 -0)➕
bench/results/2026-10-11-accepted-token-barriers/barrier-full-exact-1779-17/result.json(+8167 -0)➕
bench/results/2026-10-11-accepted-token-barriers/barrier-full-exact-1779-64/engine-0.txt(+124 -0)➕
bench/results/2026-10-11-accepted-token-barriers/barrier-full-exact-1779-64/engine-1.txt(+1122 -0)➕
bench/results/2026-10-11-accepted-token-barriers/barrier-full-exact-1779-64/engine-2.txt(+1086 -0)➕
bench/results/2026-10-11-accepted-token-barriers/barrier-full-exact-1779-64/engine-3.txt(+1086 -0)...and 52 more files
📄 Description
Holds expert placement fixed within each accepted-token block, counts accepted routing only, and drains/verifies commits before blocking swaps at the boundary. Rejected draft and speculative rows do not count. Pipelining continues inside each block; the default path stays off.
Refreshed onto current main
61b3fb5d. A positiveSTRATA_ADAPT_BARRIER_TOKENSnow resolves blocking adaptation before three-stage pipeline admission. Previously current main disabled the pipeline before the later async override.Fresh three-P4 / ISTA IQ3_XXS / int8-KV validation: four 30-request matrices pass exact output/finish and accepted-routing/residency-hash comparisons, using intervals 64/17 and swap limits 80/160, with and without the CPU dispatch fix. Serial, pipeline, forced rollback, no-guess and serial-repeat arms follow the same ordered request history. Twelve current-main-versus-feature-off comparisons pass too. CUDA/HIP/SYCL builds pass; HIP/SYCL model execution is not claimed.
Exact comparisons explicitly set
STRATA_IQ_MT_MIN=1andSTRATA_ROUTE_TAIL_SKIP=0. Ordinary rank-7 routing can change target contributions with draft-window composition; two same-binary negative-control matrices remain published. Adaptive repeats are compared at matching request histories using #1813's explicit mode; original static audits remain visible. The barrier does not change ordinary tail-skip defaults.Requires serve mode, a layer split, no PCIe miss sharing and positive adaptive settings. Barrier value unset/0 keeps the existing path. The interval replaces the window-based cadence and forces blocking adaptation even if async was requested. Unsupported remote/helper modes are refused. No fresh universal speedup or arbitrary numerical/quality guarantee is claimed.
Fresh full outputs, manifests, profile, hashes, coverage, build evidence and limits.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.