sankalp

46K posts

sankalp banner
sankalp

sankalp

@dejavucoder

ai and side quests. i post well, just follow. i consult on ai engineering stuff | seeking post-training, auto-research adjacent, evals related work atm

bangalore, india Katılım Ekim 2021
682 Takip Edilen25.9K Takipçiler
Sabitlenmiş Tweet
sankalp
sankalp@dejavucoder·
my latest blog post "auto-research with codex: how I achieved a 212x faster kernel over baseline with codex in GPU Mode's qr_v2 problem" is up now. in this post, i talk about my approach towards auto-kerneling on the QR decomposition problem. sankalp.bearblog.dev/autoresearch/
sankalp tweet media
English
14
29
407
46.8K
sankalp
sankalp@dejavucoder·
new banger blog drop on gpu and tpu communication. exhaustive resources are scarce for this subject
Aleksa Gordić (水平问题)@gordic_aleksa

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!)

English
1
0
16
1.7K
sankalp
sankalp@dejavucoder·
i wrote "just follow" in my bio and more people started following me. how do i keep forgetting this that you can just ask for things.
English
7
1
41
1.8K
Mark Saroufim
Mark Saroufim@marksaroufim·
@tenderizzation At least for the QR competition almost the entire leaderboard was basically this BUT the best submission was the one by @gaunernst (who I believed used AI for the first time in one of our competitions) because it was really fast and didn't NaN in a real run
English
2
0
22
2.2K
sankalp retweetledi
Hamel Husain
Hamel Husain@HamelHusain·
New Blog Post: Do Automated Evals Work? There has been a rise of tools that look through your traces with AI and identifies issues. We tested these tools with real production data to see how good they are. Where they shine - They often spot issues human miss - Integrate into your workflow: viewing traces, creating LLM judges etc. Where they fall short - They miss problems that require domain expertise and taste - Don't have great mechanisms to learn from human feedback - You can get similar results from using your coding agent So you should use them? Yes, BUT do so iteratively with you in the loop. We describe how in the post: parlance-labs.com/blog/posts/aut… It's also a good idea to try using your coding agent with you in the loop, which we discuss in the post. This was written with @doesdatmaksense , who led the research and collated the results.
Hamel Husain tweet media
English
9
9
77
6.2K
sankalp
sankalp@dejavucoder·
@tenderizzation pretty sure though if you have domain expertise, you can progress way faster. then there are people like gau nernst who probably hand write stuff
English
0
0
3
108
sankalp
sankalp@dejavucoder·
@tenderizzation it will be like 99% (you can see and determine from the submission code later) but a lot of fucking around and find out (or domain expertise) is required to steer beyond even the 40k microsecond point in this one. inference time compute just works so well on multiple edge cases
English
1
0
10
304
sankalp retweetledi
Zach Mueller
Zach Mueller@TheZachMueller·
For the first time since Claude Code came out, I moved one of my actual work pipelines to @pidotdev & open-weight models. And after a weekend of fighting with it, I prefer the report it made. 36 pages vs 21 from Claude, more information-dense, prose I liked more, and pennies compared to the Claude API. It does not save on speed. 30-40 minutes instead of ~20. But it's running locally-adjacent/off resources I have so that's just fine. Setup was one 8xB200 node split 4/4 between: - GLM 5.2 NVFP4 (main agent/driver) - Kimi K2.7 Code NVFP4 (retriever). The dumbest fix throughout it: I summarized sources into briefs to save on context, then notes, losing information each time. Ended up saving all articles directly to disk so there were multiple layers of information retrieval I could work with.
Zach Mueller tweet media
English
8
14
161
13K
sankalp
sankalp@dejavucoder·
@sama one more reset please your usage will go 4x
English
0
0
12
312
Sam Altman
Sam Altman@sama·
2.5x increase in usage of our agentic products (codex and chatgpt work) in the last week! welcome.
English
797
365
12.3K
555.3K
sankalp
sankalp@dejavucoder·
probably my peak usage in one day
sankalp tweet media
English
26
1
172
7.2K
sankalp
sankalp@dejavucoder·
tibo senpai can we get a reset.
sankalp tweet media
Indonesia
2
0
18
556