WEBVTT

00:00:01.290 --> 00:00:02.347
Hi, I'm Tango!

00:00:02.347 --> 00:00:07.282
Here's how vLLM tunes serving for a two point four trillion parameter hybrid model.

00:00:10.600 --> 00:00:14.309
The key: on a hybrid model, the linear layers' fixed state sets

00:00:14.309 --> 00:00:15.855
the attention layers' page size.

00:00:20.258 --> 00:00:21.601
An eight-thousand-token prompt arrives.

00:00:21.601 --> 00:00:25.294
Prefill engines read it all at once and build its cache.

00:00:25.714 --> 00:00:27.964
The cache moves to separate decode engines.

00:00:27.964 --> 00:00:31.179
The hand-off needs the same block size on both sides.

00:00:31.599 --> 00:00:34.164
Decode writes the answer, one token per step.

00:00:35.900 --> 00:00:40.410
Sixty-nine gated DeltaNet layers, twenty-three full-attention layers, and one block size

00:00:40.410 --> 00:00:42.050
that must hold either.

00:00:42.470 --> 00:00:46.167
DeltaNet keeps one fixed state per request, however long the prompt.

00:00:46.587 --> 00:00:48.493
Full attention grows token by token.

00:00:50.023 --> 00:00:53.917
One state equals two thousand one hundred and eight tokens; rounded to

00:00:53.917 --> 00:00:57.162
sixteen, a block is two thousand one hundred and twelve.

00:00:58.717 --> 00:01:01.838
Walk the memory ladder the server prints at startup.

00:01:01.838 --> 00:01:05.999
Sharded one way, an engine caches a hundred and twelve requests; sharded

00:01:05.999 --> 00:01:07.733
wider, a hundred and eighty.

00:01:09.067 --> 00:01:12.129
Check the CUDA graph estimate, because it's charged to your cache.

00:01:12.549 --> 00:01:16.306
Benchmark prefill and decode apart, then combine only the winners.

00:01:16.726 --> 00:01:18.664
Find where speculation stops paying.

00:01:18.664 --> 00:01:22.927
Two doublings past two fifty-six, it costs sixty-two percent of throughput.

00:01:24.217 --> 00:01:27.936
The post's own decode sweep: eight setups, speculation on and off.

00:01:28.356 --> 00:01:30.848
Solid red is speculation on eight GPUs.

00:01:30.848 --> 00:01:33.341
It peaks at two fifty-six, then falls.

00:01:33.761 --> 00:01:37.761
Only solid blue, the setup holding the most cache, keeps climbing with it on.

00:01:39.017 --> 00:01:42.435
On a hybrid model, price the linear layers first: they set the

00:01:42.435 --> 00:01:44.999
block size and a fixed share of every request.

00:01:47.775 --> 00:01:51.160
To recap: price the cache, let the linear layers set the block,

00:01:51.160 --> 00:01:52.289
tune each phase alone.

00:01:52.709 --> 00:01:54.713
Every source is in the full article.

00:01:54.713 --> 00:01:55.286
I'm Tango.

00:01:55.286 --> 00:01:55.572
Bye!
