Expand description
2026-09-25: ScriptedDeviceIo, a test router wrapped around an inner router.
It answers the decode lane’s readback from a script (per sequence, in
order), fails a launch on cue, reports a configurable depth, and records
every effect and LoRA command, while the inner router still performs the
device bookkeeping the rows need.
A row is matched to its script line by the key function the test passes (the server’s trace-harness tests key by session hash).
Depth: a launch whose readback is a device argmax (plain, masked or a fed step) is forwarded and left in flight with the inner router; the script is substituted when the ticket is awaited, so an inner router that pipelines keeps pipelining under the script. A host-logits launch is settled at once, because its answer is written into the plan’s own buffer, which only exists for the duration of the call.
Owner: scheduler. Invariants: none beyond the types.
Structs§
Enums§
- Fault
- 2026-09-25: A scripted launch failure.
Type Aliases§
- KeyFn
- 2026-09-25: How a sequence row is matched to its script line.