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/sched
fl0l0u 0ff61a19a2 sched: the preemption gate credits only what the recompute adopts
The gate that admits a preempted request back subtracted the raw
attention prefix hit from every paged group's need. Admission does not
adopt that deep: under checkpoints the linear layers replay from the
last checkpoint whatever the attention matched, so the adopted prefix is
clamped to the linear hit, exact mode floors it to its chunk grid, and
one token always stays outside for the logits. Every block of that
difference was a block the recompute would really need and the gate
pretended was free: the request is admitted against a loan it cannot
repay, the next ensure preempts it again -- the exact loop the gate's
own comment describes.

The gate now runs the plain count first, which passes without touching
the cache at all when the pools plainly hold the recompute, and consults
the hash-chain lookup -- request-length CPU, under mu_, per waiting slot
per round -- only when the credit decides, crediting the clamped,
floored, capped depth admission actually adopts. Under-crediting delays
a re-admission by a round; over-crediting, which is what this was,
loops.
2026-11-15 20:38:10 +00:00
..
2026-11-15 16:00:05 +01:00
2026-10-29 12:04:24 +01:00
2026-11-15 16:00:05 +01:00
2026-10-16 18:25:18 +02:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-02 18:35:02 +01:00
2026-10-29 12:04:24 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-14 22:32:28 +01:00
2026-11-15 16:00:05 +01:00
2026-10-24 13:12:28 +02:00
2026-11-15 16:00:05 +01:00
2026-11-14 22:32:28 +01:00