mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2176] [CLOSED] STRATA_ROUTE_PRIOR_MAP: the route prior per layer (opt-in); off in layers 0-11 keeps the speed with KL 0.141 -> 0.108 #3904
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#3904
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/2176
Author: @zsariboga
Created: 10/12/2026
Status: ❌ Closed
Base:
main← Head:pr-route-prior-map📝 Commits (1)
00a78baSTRATA_ROUTE_PRIOR_MAP: the route prior's bonus per layer (one digit per layer, digit/10), opt-in📊 Changes
2 files changed (+24 additions, -3 deletions)
View changed files
📝
docs/DETAILS.md(+13 -1)📝
src/core/verify.cpp(+11 -2)📄 Description
What
STRATA_ROUTE_PRIOR_MAP=<one digit per layer>(opt-in, withSTRATA_ROUTE_PRIOR> 0, changes the output like the prioritself): the route prior's bonus per layer is digit / 10;
0turns the prior off for that layer, layers past the end ofthe map keep
STRATA_ROUTE_PRIOR. Unset: the code path is the same as today.Why
docs/DETAILS.mdlistsSTRATA_ROUTE_PRIORas "adds speed, doubles the KL". Most of that KL comes from the early layers:a swapped expert there changes everything after it. Measured with the prior (0.5) on in one band of 12 layers at a time
(KL against the same build with no prior, 47 prompts, Turkish / English / code, teacher-forced):
Measured
RTX 5070 Ti Laptop 12 GB, Core Ultra 7 255HX, Swift 1.5 IQ3_XXS (GSQ-RCO),
STRATA_ROUTE_PRIOR=0.5, decode speed fromagent turns in mirrored order (engine generation tok/s):
000000000000+ 36 x5(off in layers 0-11)KL is against the same build and config with no prior (every change here has a floor of ~0.04-0.05 from the other
opt-in switches of the config, so the bands do not add up).
So the first map keeps the prior's speed with about a quarter less KL (a third less in code). In daily use since 12 October
(
STRATA_ROUTE_PRIOR=0.5,STRATA_ROUTE_PRIOR_MAP=000000000000555555555555555555555555555555555555). Built andsmoke-tested on today's
main(a0116b27).docs/DETAILS.mdgets the table.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.