This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/core/server
keptn42 82da8eab69 draft: an adaptive draft window per sequence (RADIANCE_DRAFT_ADAPT)
One depth for every request is too shallow for code and JSON and too deep
for prose. With RADIANCE_DRAFT_ADAPT=1, --num-speculative-tokens becomes
the ceiling and each sequence drafts into the window d that maximises
E(d)/T(d): the tokens a step is expected to emit from the sequence's own
smoothed acceptance at each position, over the step's cost
(RADIANCE_DRAFT_COST, depth:ms pairs). The serial head runs as many rounds
as the deepest window in the step. A window moves only past a hysteresis
and a hold, since a new window is a new pass shape. Acceptance is
unchanged. /metrics gains radiance:draft_depth_adaptive and
radiance:draft_verify_depth_total{depth} while it is on. Unset, nothing
changes. Greedy at up to 6 against fixed 3: code +7.7 %, JSON +16.3 %.
2026-10-07 11:10:19 +02:00
..
2026-10-07 10:14:00 +02:00
2026-10-06 14:04:49 +02:00
2026-10-05 20:50:29 +02:00
2026-10-05 19:30:45 +02:00
2026-10-06 14:04:49 +02:00
2026-10-06 14:04:49 +02:00
2026-10-04 12:02:41 +02:00
2026-10-04 12:02:41 +02:00
2026-10-07 10:14:00 +02:00
2026-10-07 10:14:00 +02:00
2026-10-07 10:14:00 +02:00
2026-10-07 10:14:00 +02:00
2026-10-04 21:23:07 +02:00
2026-10-04 21:23:07 +02:00