WEBVTT

00:00:01.290 --> 00:00:02.458
Hi, I'm Bramblewood!

00:00:02.458 --> 00:00:07.908
Halo trains mixture-of-experts models up to two point eight times faster than stock TRL.

00:00:07.908 --> 00:00:08.686
Here's why.

00:00:10.142 --> 00:00:14.253
The gap is structural, not kernels: Halo sends each token to the

00:00:14.253 --> 00:00:17.678
GPU owning its expert, instead of summing the output everywhere.

00:00:20.192 --> 00:00:24.434
In stock transformers, every GPU keeps the whole batch, zeroes experts it

00:00:24.434 --> 00:00:27.615
doesn't own, and sums the full output across all.

00:00:28.035 --> 00:00:33.080
Halo moves tokens instead: each travels once to its expert's GPU, and comes back.

00:00:35.342 --> 00:00:37.911
Each GPU starts with its own tokens.

00:00:37.911 --> 00:00:41.581
A router, in full precision, picks each token's top experts.

00:00:42.001 --> 00:00:46.514
Dispatch sends every token once to the GPU that owns its expert.

00:00:46.514 --> 00:00:50.275
There, one grouped matrix multiply runs all the local experts.

00:00:50.695 --> 00:00:53.971
Combine sends each result home, same rows, same order.

00:00:54.391 --> 00:00:58.708
So the wire carries each token's share, not a full-tensor sum on every GPU.

00:01:00.342 --> 00:01:02.780
Here's Halo's own drawing, with two GPUs.

00:01:02.780 --> 00:01:06.262
Dispatch crosses each token to the one holding its expert.

00:01:06.682 --> 00:01:09.913
Combine brings it home, so rank zero still trains on batch A.

00:01:11.792 --> 00:01:16.566
Stock TRL shards every weight eight ways and re-gathers all twenty point

00:01:16.566 --> 00:01:18.556
seven billion parameters every micro-step.

00:01:18.976 --> 00:01:20.687
Halo's default keeps them resident.

00:01:20.687 --> 00:01:25.134
More memory, less waiting, and that difference sits inside the two point eight.

00:01:26.592 --> 00:01:30.021
Sharded the same way on both sides, Halo still leads: one point

00:01:30.021 --> 00:01:34.022
two five times at four K, and two point six eight at sixteen K.

00:01:35.642 --> 00:01:37.061
It isn't the kernel.

00:01:37.061 --> 00:01:41.320
Even on the slow per-expert loop, Halo beats TRL's fast grouped kernel.

00:01:41.320 --> 00:01:43.449
The lead is structural, routing first.

00:01:45.192 --> 00:01:49.546
To recap: route tokens, don't sum outputs, and know which sharding you're comparing.

00:01:49.966 --> 00:01:52.234
Every source is in the full article.

00:01:52.234 --> 00:01:52.882
I'm Bramblewood.

00:01:52.882 --> 00:01:53.206
Bye!
