WEBVTT
Kind: captions
Language: en

NOTE QueueLLM demo — captions mirror the on-screen text. Timings in the batching and prefetch scenes are illustrative, not measured.

00:00.000 --> 00:06.000
QueueLLM — 空流 kūryū · empty flow. A model that runs in memory it doesn't have.

00:06.200 --> 00:11.200
The best open-weight models are bigger than the memory you own. Load-everything engines stop here.

00:11.200 --> 00:16.000
gpt-oss-120B is ~60 GB. This laptop has 32 GB. Conventionally, that's the end of the story.

00:16.200 --> 00:23.000
QueueLLM streams the model instead. Layers flow from NVMe through RAM into a small resident window, compute, and leave.

00:23.000 --> 00:30.000
Typed residency: embeddings, norms and routers stay pinned; attention and expert weights stream. Every layer type gets its own policy.

00:30.200 --> 00:36.200
Mixture-of-Experts changes the math. A token only touches the experts its router picks — about 5% of the weights.

00:36.200 --> 00:42.000
Only those experts cross the bus. The other 95% never leave the disk for that token.

00:42.200 --> 00:49.000
Now the part that matters for evals. Prompts don't wait their turn: every queued prompt rides through a layer while it's resident.

00:49.000 --> 00:55.000
The slow load happens once per wave, not once per prompt. Prompts that route to the same expert share it.

00:55.000 --> 01:00.000
Per-token latency stays slow. Throughput scales with the queue. Sixteen answers in roughly one answer's time. (Illustrative — timings not to scale.)

01:00.200 --> 01:05.500
Prefetch runs ahead of the GPU, staging the next layers and likely experts before they're asked for, so I/O and compute overlap.

01:05.500 --> 01:10.000
An autotune loop benchmarks the box — NVMe throughput, bus bandwidth, GPU headroom — and retunes the window and prefetch depth.

01:10.200 --> 01:17.000
That makes evals cheap. 3DEval queues thousands of tests; evalbatch packs them into waves; QueueLLM streams them through the model overnight.

01:17.000 --> 01:24.000
Scores feed the decision model and the next build. Q decides. QueueLLM proposes.

01:24.500 --> 01:32.000
QueueLLM — architecture-aware streaming for disk-resident LLMs. A model that runs in memory it doesn't have. qukaizen.com
