Timor Averbuch (@timorchik) header
Timor Averbuch (@timorchik) profile picture

Beautiful is better than ugly

San Francisco, CA
Joined September 2023
Photo by Timor Averbuch (@timorchik)Photo by Timor Averbuch (@timorchik)
Here’s a fun exercise: think about how you would train a ternary-weight MoE (-1, 0, 1) across multiple GPUs while minimizing communication. Then give this a read. Great infra work!
Today, in the first of a series of blog posts we’re calling “Behind the Grove”, we’re offering a look into some of the technical work we do at DeepGrove. Our first post is about our pretraining infrastructure, Grove. Grove is built around 2 backends: Grove-FSDP and DDP. We detail how we optimized both backends, culminating in an over 2x speedup over public baselines. A production-scale pretraining run of Maple 20B-A1B (deepgrove.ai/maple-preview) on 4T tokens takes a mere 2 weeks on 64 H100s. We view infrastructure as the backbone of our work, and as one of the many pieces that help us build toward the frontier of efficiency and performance. To read the full post, visit deepgrove.ai/infra.
3
281
If you're already using FLA, Liger, cuDNN, Unsloth, Quack, FlashAttention, or Transformer Engine, try Popcorn. You might be missing out on free speedups. If you're not, pip install popcorn and get to work 🍿
We ran 1,373,020 benchmarks across 222 open ML kernel implementations. The result is Popcorn: the world’s largest collection of verified ML kernels. Today, we’re releasing it to everyone.
10
863
Wall Attention is now available in FLA! 🔥 github.com/fla-org/flash-lin… Thanks @yzhang_cs, @SonglinYang4, and @zhiyuanli_.
Introducing Wall Attention. Diagonal forget gates enable RoPE-free attention with exceptional length generalization. Wall outperforms the dominant method RoPE and sophisticated data-dependent methods like Forgetting Attention (FoX). We trained models with Wall on 4k sequence length and they generalized without further training to 200k+ tokens. Wall generalizes diagonal forget gates from linear RNNs (KDA, RWKV 7, GLA) to softmax attention through a principled induced action framework. It enables transformers to selectively remember or forget per-channel within the attention head, dramatically boosting expressivity. Wall is production-ready. Wall retains the parallel structure of vanilla attention, is compatible with GQA & MLA, and we open-source reference Triton kernels for training and decoding. Our WallDecode kernel achieves SOTA-level decode throughput. Continual learning over long-context is fundamentally about selective forgetting → and Wall attention is all about selective forgetting.
1
3
33
4,214
This was a fun one to work on! Some etymology: We started this project by interpolating existing gating methods across both exponential and linear kernels, and ended up with a framework that unifies FoX, PaTH, and Wall as special cases. A gate is just an opening in a wall, and Wall is what you get when you generalize gates all the way! P.S. @dhruv31415 blessed this post with beautiful interactive diagrams that are reason enough to visit the site
Introducing Wall Attention. Diagonal forget gates enable RoPE-free attention with exceptional length generalization. Wall outperforms the dominant method RoPE and sophisticated data-dependent methods like Forgetting Attention (FoX). We trained models with Wall on 4k sequence length and they generalized without further training to 200k+ tokens. Wall generalizes diagonal forget gates from linear RNNs (KDA, RWKV 7, GLA) to softmax attention through a principled induced action framework. It enables transformers to selectively remember or forget per-channel within the attention head, dramatically boosting expressivity. Wall is production-ready. Wall retains the parallel structure of vanilla attention, is compatible with GQA & MLA, and we open-source reference Triton kernels for training and decoding. Our WallDecode kernel achieves SOTA-level decode throughput. Continual learning over long-context is fundamentally about selective forgetting → and Wall attention is all about selective forgetting.
7
424
Once again, principled research beats guesswork 😎
Introducing Aurora, a new optimizer for training frontier-scale models. We train Aurora-1.1B, which achieves 100x data efficiency on open-source internet data. Despite having 25% fewer parameters, 2 orders of magnitude fewer training tokens, and using fully open-source internet-only data, Aurora matches Qwen3-1.7B on several benchmarks. Aurora was developed after identifying a major failure mode that can occur under Muon, an increasingly popular optimizer that has shown strong gains over Adam(W). We find that Muon can cause a huge percentage of neurons to effectively die early in training, reducing effective network capacity so that many parameters no longer meaningfully contribute to network outputs. By redistributing update energy more uniformly across neurons while preserving Muon’s stability properties, Aurora prevents neuron death and recovers substantial model capacity. What makes this work especially exciting is that it points toward a broader direction for ML research: better optimizers may not come purely from elegant mathematical abstractions, but from understanding and addressing the concrete dynamics and pathologies that emerge inside real training systems.
10
503
Distillation (on-policy in particular), is one of the highest-leverage tools small teams have for training frontier-level models efficiently. By open-sourcing Nitrobrew, we hope to make scalable distillation more accessible and help more teams push model quality without needing frontier-scale infrastructure.
Distillation (especially on-policy) has become a pivotal component of the post-training stack. ☕ To dramatically accelerate distillation at scale, we open-source Nitrobrew, a communication-efficient, fused strategy for logit distillation. It’s built for both on- and off-policy distillation with: 100x faster loss computation 50% peak memory savings 3x faster on-policy distillation and more! A 🧵 (1/8)
3
291
Come meet us at NeurIPS
Tilde is heading to NeurIPS! A few of us will be around and would love to meet others working on pretraining + model architecture. We’re also hosting a dinner on Dec 3. DM us or our Chief of Staff @gitipahwa if you want to join!
1
1
250
# [B, N, H, D]
literally how do ML people survive without lifting tensor dimensions into the type system? isn't that like the number one thing youd immediately want
4
305
Incredible team doing incredible work
Introducing Axis: the first AI model that generates regulatory DNA elements and predicts their function. Gene therapies suffer from poor efficacy, toxicity & specificity. Models like Axis can help overcome such risks. Axis beats Google DeepMind's AlphaGenome at predicting regulatory element binding activity by 6.7%.
2
9
633