Loading video...

Video Failed to Load

Go Home

Scaling past a trillion parameters requires inference engineers to solve 3 issues: - Width: Routing between hundreds of sparse experts - Depth: Mixing global and local linear attention - Length: Processing 1M-token sequences I asked Ali and Bryce to draw it up. They delivered.

160,311 views • 21 days ago •via X (Twitter)

23 Comments

ali's profile picture
ali21 days ago

what a chat

Philip Kiely's profile picture
Philip Kiely21 days ago

Keep drawing on the whiteboard and they might promote you to @ waterloo_professor if you're not careful.

Mike Bilodeau's profile picture
Mike Bilodeau21 days ago

@waterloo_intern how I imagine @waterloo_intern in office hours

Rachel Rapp's profile picture
Rachel Rapp21 days ago

@waterloo_intern @waterloo_intern dream team

Alex Ker 🔭's profile picture
Alex Ker 🔭21 days ago

@waterloo_intern taking notes ✍️

Yusuf's profile picture
Yusuf21 days ago

@waterloo_intern Gold

ahmet alp balkan's profile picture
ahmet alp balkan21 days ago

@waterloo_intern banger drop

Anderson's profile picture
Anderson21 days ago

@waterloo_intern trillion parameters mostly proves nobody profits from serving them

lifeiscrazy's profile picture
lifeiscrazy21 days ago

@waterloo_intern I am solving the same bottleneck on the decode side

Akumu's profile picture
Akumu21 days ago

@waterloo_intern Unfortunate that this wasn't cross-posted to YT. X video experience is still awful for longer content.

Philip Kiely's profile picture
Philip Kiely21 days ago

@waterloo_intern Its on YT, Baseten channel

Daniel Lenton's profile picture
Daniel Lenton21 days ago

@waterloo_intern I'd guess at 1M tokens the few global layers' KV cache is most of the memory, since the local ones stay flat. Does that end up deciding how many global layers you can afford?

Rhys's profile picture
Rhys21 days ago

@waterloo_intern You guys are making the best technical ML content out there. @oneill_c @jxmnop one was great too

NextSignal's profile picture
NextSignal21 days ago

@waterloo_intern 把万亿参数的推理难题拆成宽度、深度、长度三维很清晰:专家路由决定算力怎么分,混合全局与局部注意力决定每层怎么省,百万 token 序列又把 KV 缓存和调度逼到极限。实际部署里最先卡住的往往不是单项峰值,而是三者叠加时的尾延迟,这一块你们有实测数据吗?

Kyle Jeong's profile picture
Kyle Jeong21 days ago

@waterloo_intern where's the white board from tho

Philip Kiely's profile picture
Philip Kiely21 days ago

@waterloo_intern If you talk about abstract concepts long enough one automatically spawns

42builder's profile picture
42builder21 days ago

@waterloo_intern this is awesome. thanks for this amazing video

WildHoney's profile picture
WildHoney21 days ago

A single parameter count can hide a lot of very different work. Separating these axes gives the profiling conversation somewhere concrete to start.

rubai's profile picture
rubai21 days ago

@waterloo_intern Please do more of it

Junu Park's profile picture
Junu Park21 days ago

@waterloo_intern i really like whiteboard sessions this is awesome!

Priyank's profile picture
Priyank21 days ago

@waterloo_intern Wish you would post this on youtube so its easier to share

Philip Kiely's profile picture
Philip Kiely21 days ago

@waterloo_intern Its on YouTube too, Baseten channel

Priyank's profile picture
Priyank21 days ago

@waterloo_intern aye, ty. will follow and share. good video btw!

Related Videos