mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3448] [Engine] data/expert-profile-coder.bin does not match the 2026-10-19 Coder release (the experts were re-indexed) #1401
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#1401
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?
Originally created by @rodi4eg on GitHub (Oct 20, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3448
The shipped Coder expert profile no longer matches the model
data/expert-profile-coder.binis the shipped ranking of the Coder's kept experts, mapped onto them through the release'srco-allocation.txt. ISTA replaced the Coder's first shard on 2026-10-19 and re-indexed the kept experts ("Update expert allocation to match the replaced first shard"), so the mapping the profile was built on is gone.What I measured: the shipped profile has 12,288 ranked
(layer, expert)pairs. Against the new release, 2 of 12,288 still point at the same expert (0.0%). The new allocation moved 18,378 of the 74,952 allocation entries at the same position, every one of them a different expert index, across 48 of the 49 layers (210-516 entries per layer).The profile is a priority order: the VRAM expert cache holds ~1,872 of the model's 12,288 experts, and with the per-layer layout each layer keeps its 39 highest-priority ones. A stale profile therefore makes the cache prefetch the wrong 39 per layer at the start.
Why it does not bite much today:
rank_learned_profile(src/core/expert_cache.cpp:160-164) sorts the cache by (1) already resident, (2) the learned heat (the decayed routing counts, which is also what drives the adaptive tier's swaps), and only then (3) the shipped profile as a tie-breaker. The heat term re-learns the hot experts within the first minutes, so the initial placement self-corrects: on this box the adaptive tier exchanged 2,166 experts with the VRAM tier in the first requests, and a profile rebuilt from the new model's own routing traces measured the same as the stale one (43.6 vs 44.8 tok/s decode, inside the +/-5% run-to-run spread of this box).What I would suggest
rco-allocation.txt(the same way it was built the first time), orI can post a profile rebuilt from the new model's routing traces (11,182 of the 12,288 pairs from the traces, 1,106 filled in) if that is useful - it is at
data/expert-profile-coder-new.binin my tree and I can attach it to a PR.Environment: RTX 4070 12 GB, Ryzen 7 5700X, 31 GiB RAM, Strata source build at
f57c0adc(engine 0.1.45.3), Coder IQ1_M, the 2026-10-19 revisionbba88856f8c3c0c9e40e45f82d05e228b814ac43.@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.