You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(engine/metal): submit-ahead generalised to a depth queue — depth 1 by receipt (#341 phase 4)
generateSubmitAheadLinks becomes a liveSubmitAheadDepth queue with the
encode-before-wait ordering preserved (the first cut of the refactor
waited before encoding and idled the GPU through every host encode:
132.5 tok/s vs 155.0 — caught by the receipt, fixed, and pinned in a
comment on the loop). Clean depth A/B on the real 26B with correct
ordering: depth 2 = 154.2, depth 1 = 152.9 — inside the wobble band,
host/sync gap pinned at 0.18 ms/token either way. One queued link
already lets the GPU start the next command buffer the instant the
current completes; the residual gap is cb-to-cb scheduling latency no
queue depth removes. Depth stays 1 (less speculative discard at a stop)
as a documented tunable; the stop unwind generalises to any depth (pos
-= queue length, one truncate).
Receipts: MoE identity suites green incl. the wrapped-ring EOS rollback;
metal 1397 green; repo 10451 green (both at depth 2 pre-flip, identity
re-run at depth 1).
Co-Authored-By: Virgil <virgil@lethean.io>
0 commit comments