JUSTIN ZHANG - SWAN LAB
Thank you for following up with IFS. Great to hear they've replied.
Proposal: recreate and update the SWAN lab website to add credibility.
github.com/swan-carleton/swan-carleton.github.ioswan.olgabaysal.comLast meeting we discussed how hard it is to compete in research when large, well-funded labs have access to effectively infinite compute.
I've been watching YC Paper Club - a monthly series where ML researchers present their latest studies. Insightful watch.

youtube.com/watch?v=wE1ZgJdt4uM&t=3845s
Compute spent training LLMs grows ~4x per year. Web data grows only ~1.03x per year. We approach a regime of infinite compute, finite data.
A list of scaling recipes that reduce validation loss, and a characterization of how that loss behaves in the long run when compute is infinite.
As data stops scaling but compute keeps growing, validation loss approaches a horizontal asymptote modeled as a power-law function.
Starting with foundational papers on KV-caching and prefilling, then Disaggregation for distributed LLM inference.
The self-attention mechanism computes a matrix denoting the importance of each token relative to the others.
Self-attention is foundational to all modern LLMs. The breakthrough here was training speedup, not inference - inference is still autoregressive like traditional methods. Builds a good foundation for understanding KV caching.
Fast and memory-efficient exact attention with IO-awareness. Achieved via block-matrix multiplication (tiling) in low-level GPU kernels.
Not relevant - I will not be writing low-level GPU kernels. Still valuable for understanding the concept of IO-awareness when reasoning about attention cost.

Prefill / Decoding disaggregation, introduced in 2024 for distributed LLM inferencing.
When a user submits an initial prompt, the entire token sequence passes through the network in parallel.

A visual of the prefill and decode stages.
Running both phases on the same hardware wastes resources. During decode, GPUs are under-saturated - few operations, lots of idle compute.
Split the phases onto different hardware tailored to each workload.
Very relevant to my research direction.
What is the performance cost of running prefill and decode together on a single GPU (vLLM inference framework)? How does that penalty grow as the workload becomes more prefill-heavy?

Single GPU, 8 concurrent requests - how Time Between Tokens changes as the batch becomes prefill-heavy vs. decode-heavy.
f(r) = 1.63r² + 1.39r + 14.52r = 0.0 and r = 1.0 is the benefit you gain from disaggregation (prefill on GPU A, decode on GPU B).Distributing prefill and decoding requires larger clusters. Target: Carleton RCDC.
| GPU | VRAM | QTY |
|---|---|---|
| NVIDIA H200 | 141 GB | 8 |
| NVIDIA A100 | 80 GB | 8 |
| NVIDIA A100 | 40 GB | 16 |
| NVIDIA L40S | 48 GB | 8 |
| NVIDIA V100 | 16 GB | 2 |
| NVIDIA GTX 1080 Ti | 11 GB | 16 |
| AMD MI210 | 64 GB | 2 |
Gain access to the lab website GitHub repo.
Set up a gathering of the lab for early fall. Send out forms and coordinate a date with all members.
Do we have budget for a lab lunch?
JUSTIN ZHANG - SWAN LAB - MCS MEETING AUG 6