I’m going to a math talk at UC Berkeley on Monday about queueing theory and stochastic analysis, with applications to RL and load balancing. Would love to meet up!
https://t.co/AzYLt73XGO
The Beatles' Rubber Soul (Super Deluxe Edition) is named Best New Reissue 🏆
Pop and art, stereo and mono, Britain and America, John and Paul: An expansive reissue of one of the 20th century's most important works of art suspends its heady contradictions in a state of perfect flux
https://t.co/xsCcE5tFAw
Last month I wrote about how we can build a positive and safe future for everyone: https://t.co/eoLGVY8yad
Every lab has the responsibility and incentive to move at the pace required to train its models safely, and the ability to take its own actions to ensure that happens.
The reality is:
- People won't want to use agents that are misaligned with them and that don't do what they ask, so labs have a strong natural incentive to make their models more aligned.
There is a lot of debate about slowing progress on capabilities until alignment catches up. My view is that trust and alignment are quickly becoming the most important capabilities that will differentiate agents and models. Any lab that doesn't focus on alignment will fall behind.
- Labs face significant liability if their models cause harm, so they have a strong incentive to prevent this as well.
Meta delayed shipping Muse for several months to focus on safety and security. We didn't call for everyone else to do this before we would. We just did it as part of our day-to-day work because it was clearly the right thing for people and for us. I'm proud of the security foundations we've built.
- Engaging independent evaluators and advisors is industry best practice. MSL already does this today in several areas because it helps produce better work. Other labs can just do this too. In general, it would be helpful for there to be a larger and more diverse ecosystem of evaluators.
- Committing the significant majority of compute towards serving people rather than racing towards recursive self-improvement is one of the best ways to ensure we develop this technology safely. Meta has made this commitment and other labs can do this as well.
I believe the key to building a positive future for everyone is maintaining the right balance of power. This is within our power to do.
New in-depth blog post time: "Inside TPU and GPU Clusters: The Anatomy of Collective Communication".
If you want to deeply understand the core primitives behind scaling the training / inference for MoEs and dense transformers, going a level below FSDP, expert parallelism, data parallelism, model/tensor parallelism this might be a fun read.
I cover:
* TPU cluster topology: (super)pods, slices, DCN, PCIe, ICI
* All-Gather: 1D/2D rings, and path algo (lots of visuals so should be crystal clear how these work even if you're not a perf engineer)
* Reduce-Scatter (which is the dual of AG) and All-Reduce
* All-to-All (used to dispatch tokens to target experts in MoEs)
* NVIDIA GPU cluster topology (reference DGX architecture): nodes, scalable units, fat tree
* GPU collectives within the node: rings, trees (log2 steps), and SHARP (in network compute unit)
* GPU collectives across nodes, hierarchical algorithms over InfiniBand
etc.
I was heavily inspired to do this deep dive after reading the excellent Scaling book by an excellent group of people @jacobaustin132@_sholtodouglas@reinerpope and others!
What originally started as "let me maybe just make four figures covering All-Gather, Reduce-Scatter, All-Reduce, and All-to-All so I can understand them better, it shouldn't take more than a day, right, right?" somehow turned into this 40 figures later.
Along the way, I realized that the collective algorithms only really make sense once you understand the underlying hardware topology. TPUs were a bit easier to reason about, but I couldn't skip GPUs, I love them too much. Rings are cool, but I also wanted to understand tree algorithms. But also SHARP, and fat trees, and hierarchical collectives. :')
So the scope slowly expanded, and little by little, this blog post came to fruition. Just a side-quest.
Hope you like it! :)
---
Also a big thank you to my friends for reviewing the blog and providing feedback:
* @ArunDemeure (prev GPU/AI stuff at Magic, GPU architect at Apple and Imagine, my llm.c buddy!)
* @axel_s_feldmann (making GPUs go brrr at Jane Street, we met for the first time at @marksaroufim's excellent GPU mode event)
* @pranjalssh (ex xAI GPU wizard, one of two people who inspired my original matmul blog!)
@thsottiaux (Probably in development stuff):
- Seamless interaction with threads via iPhone
- Interact with remote dev instances, ability to migrate workflows there if I want to close my laptop (connections is not released for me yet)
Love Codex!
Added lots of improvements to the LLM Architecture Gallery in the last 2 weeks.
Imho the coolest one yet: A diff tool many of you were asking for!
https://t.co/NO7z6XSRHS
It seems you’re trying to have it both ways by calling it “a pattern” but avoiding its having physical causal effects…aren’t such effects part of how we get to call it “a pattern”?
So suppose we have a brain-scanning machine with a light bulb that lights up when pattern X is detected and not otherwise. Is that not causal enough?
Yes, I've been saying this for a while now. See for example https://t.co/4dkPks2zls and Danzig's work here: https://t.co/bQrsrIwK0k
I don't think the predominant narrative of AI as a singular entity, a Sand God, a discrete moment in time, or a 'separate species' (as Tegmark puts it) is correct or helpful. As Danzig argues, AI is indeed "alien," but only in the same way a stock market or the DMV is alien: they are all reductionist, correlative intelligences.
They strip the world of context, reducing reality to standardized inputs like prices or tokens to process information at scales humans cannot. To me at least, this shared "alien" nature normalizes AI as the latest evolution in a lineage of artificial processors we’ve lived with for centuries.
So instead of a unitary being or species, AGI should be understood as a collection of complex systems, models, and products that functions similarly to (and integrates with) existing human macro-systems. An amplifier for the bureaucracies and markets that already govern us, not a discrete 'biological-style' agent. Its governance is a continuous sociopolitical struggle (insert always has been meme) that is shaped by many different forces, not a one-time mathematical proof of safety before a launch.
Relatedly, I feel like the current discourse also has a blind spot for the 'demand' side. We obsess over the supply (R&D, model scaling, 'the AGI') as if these systems are created in a vacuum. I think this is how people end up with scenarios where AGIs are just doing things for their own sake, completely detached from human preferences (who are usually described as 'disempowered').
But they aren't; they are pulled and shaped by downstream demand, cost constraints, and efficiency needs. This economic reality has implications for how the technology develops. See also Drexler's CAIS model (https://t.co/aKP11EgjCS) - Drexler anticipated much of this and the core intuitions remain true, even if slightly out of date. You won’t see one omniscient agent, but a proliferation of specialized systems, models of varying sizes, and distinct products rising in parallel because that is what is economically viable.
This is why the AGI governance conversation often feels so confused. If you view AGI as a singular biological entity, you make two mistakes: safetyists project human-like 'intent' where they should be looking at incentives, and policymakers reach for a singular 'FDA' when instead they need to look into different different markets, sectors, products etc.
You can’t have a single regulator or discrete safety rules for 'The Economy' or 'The Bureaucracy,' and you won't be able to have one for 'Intelligence' either. Models still matter of course - none of this means you shouldn't test, evaluate, and understand them better - but I think we overindex on this frame a bit. And as Dean says, none of this is to downplay concerns and risks: but I do think it has implications for how to understand and address them.