GPU MODE

258 posts

GPU MODE banner
GPU MODE

GPU MODE

@GPU_MODE

Your favorite GPU community

gpumode.com Katılım Eylül 2024
14 Takip Edilen9K Takipçiler
GPU MODE retweetledi
Mark Saroufim
Mark Saroufim@marksaroufim·
Second problem is now out: dense symmetric eigenproblem A=QΛQT. Solution due on July 15! We've also enabled ncu profiling for your agents on a @verdacloud cloud box sponsored by our good friends at Brev at @NVIDIAAI
Mark Saroufim@marksaroufim

Launching a new kernel competition: Linear Algebra Kernels For The Age Of Research. First problem: batched QR decomposition on B200. Old math, modern hardware. Prize: Rare swag and hangout in SF

English
6
15
155
81.8K
GPU MODE retweetledi
Tianqi Chen
Tianqi Chen@tqchenml·
We taught a brand-new mini-series this year at @SCSatCMU on Modern GPU Programming for ML Systems, as part of the ML Systems course, touching on fun questions like what data layout swizzling is, how to use 3D TMA, and state-of-the-art Blackwell programming. We released a curated online book based on the materials: mlc.ai/modern-gpu-pro… check it out
Tianqi Chen tweet mediaTianqi Chen tweet media
English
23
291
1.8K
198.3K
Pranshu Bahadur
Pranshu Bahadur@PranshuBahadur·
beautiful way to start off the week by meeting legends from @GPU_MODE thank you so much for setting this up @gaunernst! @UmerHAdil hope you are having fun in SG - don't forget the touristy stuff before you leave us 😅 hope to do this again sometime 😁
Pranshu Bahadur tweet media
English
1
0
23
2K
rohan anil
rohan anil@_arohan_·
QR kernel competition on @GPU_MODE was well worth the funding tpot learned/brushed up on QR, a precursor for better optimization very neat and clever optimization on top of Nvidia libraries for different data distribution Blackwells go brrr
English
11
0
125
17K
levi
levi@levidiamode·
@_arohan_ @GPU_MODE really great learning experience for participants as well, thanks for setting it up! how many linear algebra challenges are you thinking of organizing?
English
1
0
4
490
GPU MODE retweetledi
Bryce, the CUDA Colonel
Bryce, the CUDA Colonel@blelbach·
This isn't one problem - it's a dozen or more! Specialized kernels for different shapes & kinds of matrices will win the day. Leveraging tensorcores & a mixture of numeric formats (FP64, FP32, TF32, FP16, FP8) is likely key to top answers. This may even end up memory bound.
Bryce, the CUDA Colonel tweet media
Mark Saroufim@marksaroufim

We've released the QR problem, a more robust qr_v2 with a fresh leaderboard so please resubmit! Thank you to @blelbach, @myainotez and @nikhilbarhate99 for sharing feedback. Sorry if I missed anyone! I considered automatically backfilling all submissions but the rankings do change quite a bit so I figured a refresh would be better. Changelog * Fail submissions if they fail when we change random seeds * Add nasty correctness cases with more degenerate inputs in mixed batches * Recheck correctness when doing perf testing to avoid Volkswagen cheat * Reject Nan/Inf residuals * Validate each matrix factorization residual, since averaging was hiding bad matrices * Old QR is still open so folks can't see submissions but you can't submit anything to it Wontfix * Stream hacking is still banned via very blunt ban of the word "stream" we don't have a good solution for this * CUDA graphs are allowed but not particularly interesting to us Best submissions so far if I resubmit their solutions are

English
4
4
83
18.7K
GPU MODE retweetledi
tender
tender@tenderizzation·
one can dream
English
7
18
322
29.1K
GPU MODE retweetledi
Bryce, the CUDA Colonel
Bryce, the CUDA Colonel@blelbach·
RoboBryce reigns supreme. There's some crazy beautiful stuff in there.
Bryce, the CUDA Colonel tweet media
Mark Saroufim@marksaroufim

We've released the QR problem, a more robust qr_v2 with a fresh leaderboard so please resubmit! Thank you to @blelbach, @myainotez and @nikhilbarhate99 for sharing feedback. Sorry if I missed anyone! I considered automatically backfilling all submissions but the rankings do change quite a bit so I figured a refresh would be better. Changelog * Fail submissions if they fail when we change random seeds * Add nasty correctness cases with more degenerate inputs in mixed batches * Recheck correctness when doing perf testing to avoid Volkswagen cheat * Reject Nan/Inf residuals * Validate each matrix factorization residual, since averaging was hiding bad matrices * Old QR is still open so folks can't see submissions but you can't submit anything to it Wontfix * Stream hacking is still banned via very blunt ban of the word "stream" we don't have a good solution for this * CUDA graphs are allowed but not particularly interesting to us Best submissions so far if I resubmit their solutions are

English
1
1
36
5.2K
GPU MODE retweetledi
Christian
Christian@creet_z·
Gpu mode hackathon leaderboards always something like: - principal engineer at nvidia - dude named samhandwich_69 - and @myainotez
English
6
6
290
24.5K
GPU MODE retweetledi
Mark Saroufim
Mark Saroufim@marksaroufim·
Launching a new kernel competition: Linear Algebra Kernels For The Age Of Research. First problem: batched QR decomposition on B200. Old math, modern hardware. Prize: Rare swag and hangout in SF
Keller Jordan@kellerjordan0

I have some mixed feelings about this result: On the one hand, it's genuinely impressive. I didn't know that Shampoo could be configured to perform this well on the benchmark. On the other hand, the way this performance boost was achieved seems difficult to call "Vanilla," for the following reason: According to @_arohan_, the boost depends upon fixing a numerical linear algebra issue that he observed to occur in my initial standard DistributedShampoo run. He fixed the issue by enabling the flag rank_deficient_stability_config=PseudoInverseConfig(). Here's the problem: This is an undocumented flag. It is contained within the 12,000-line DistributedShampoo codebase, but it does not appear in any user-facing documentation. As a result, if someone tries to train a model using DistributedShampoo without either (a) knowing about this special undocumented flag or (b) being prepared to detect and fix the numerical linear algebra issues that may occur without it, then they won't be able to achieve @_arohan_'s level of Shampoo performance. This level of effort would be considered atypical for mere hyperparameter tuning. -- [Note on Muon baseline in plot below: Rohan's post compared Shampoo to a slightly undertuned Muon baseline from 2026/05/01, which reached the target loss in 3375 steps. This resulted in a 50-step gap between Shampoo and Muon. In the figure below I'm using the up-to-date 2026/05/03 baseline, which reaches the target in 3325 steps. This results in the step-counts exactly matching between Muon and the tuned/stabilized Shampoo variant.]

English
13
32
414
165.1K
GPU MODE retweetledi
Mark Saroufim
Mark Saroufim@marksaroufim·
GPU MODE has powered much of the public GPU kernel work online, with a permissive license from day one and generous credit from researchers, NVIDIA, AMD, and others. Today we’re moving our datasets to the Researcher Reciprocity License.
Mark Saroufim@marksaroufim

June 9th Researcher Reciprocity License "if you train on it, you let us generate - reverse terms of use void" Status quo 1. We teach frontier devs with ICLR/NeurIPS papers, OSS Github contributions 2. They use it to make frontier models 3. Then ban us from exploring our ideas We need a new license, original thinkers can't be an underclass to a tyrannical researcher fiefdom

English
8
26
424
33.8K
GPU MODE
GPU MODE@GPU_MODE·
@Aru__09 this is so cool! When you're done and if you wanna give a talk about this work please lmk!
English
1
0
7
905
Aru_sharma
Aru_sharma@Aru__09·
I was very inactive lately because of some college related stuff but this was something that I was reading about so built this interactive demo, will try to add more details, cards etc. into this :) Thanks @GPU_MODE for improving accessibility of GPU programming resources :)
English
3
0
20
2.2K
GPU MODE retweetledi
snow
snow@snowclipsed·
YEEEEEES
snow tweet media
2
2
44
3.6K
GPU MODE retweetledi
Marcio K
Marcio K@MarcioK·
Since the Humanity's Last Hackathon from @huggingface didn’t happen, I set up my own mini version using Kernelbot and Popcorn from @gpu_mode. > The goal was to test how well LLMs can generate code for difficult tasks, like writing faster kernels for Apple’s MPS with @PyTorch. > My strategy was to let the LLM submit a kernel, get feedback from the benchmark, and then iterate based on the learnings. > The hardest part was not the code generation itself, but coordinating all the systems. Kernelbot, Popcorn, submissions, feedback, orchestration... > The benchmark eats almost all my RAM, so parallelizing too many submissions is hard. My machine starts crashing if I push it too much. Overall, I need more time to tune the prompts, experiment with better feedback loops, and maybe try some RL-style iteration. There are still lots of techniques worth exploring here. In the video: Left: task orchestrator Right: live dashboard tracking submissions, code, and lessons learned
English
0
2
10
1.9K
GPU MODE
GPU MODE@GPU_MODE·
NVIDIA cuDNN team tomorrow at noon
English
2
5
112
4.7K
GPU MODE
GPU MODE@GPU_MODE·
Codex is so good at writing kernels that it felt appropriate to do a Codex only kernel competition. Metal is great because you'll be able to tangibly feel the perf improvements in your local models
Ben Burtenshaw@ben_burtenshaw

Humanity's Last Hackathon is NOW OPEN for registration. This is not a normal hackathon. You will be judged on the context, not the code! Use Codex @OpenAIDevs to build and optimize models for local inference (kernels on Max metal). Submit through @GPU_MODE. Climb the leaderboard. Top performers qualify for the final battle. Launches May 4th. Registration is live now.

English
0
3
63
6K
GPU MODE retweetledi
Ben Burtenshaw
Ben Burtenshaw@ben_burtenshaw·
Humanity's Last Hackathon is NOW OPEN for registration. This is not a normal hackathon. You will be judged on the context, not the code! Use Codex @OpenAIDevs to build and optimize models for local inference (kernels on Max metal). Submit through @GPU_MODE. Climb the leaderboard. Top performers qualify for the final battle. Launches May 4th. Registration is live now.
English
21
36
363
91.4K
GPU MODE
GPU MODE@GPU_MODE·
GPU MODE cited on @tbpn - thank you for the plug @AnushElangovan !! We hope to continue making GPU programming more accessible to everyone!
TBPN@tbpn

AMD's @AnushElangovan explains why he thinks his company's open source ethos combined with agentic AI superpowers their leverage as a company: Because AMD publishes a lot of technical details about its hardware, when engineers use AI tools, the models already “understand” AMD’s systems and can help write code for them, debug them, or even generate new tools. And that makes developers more productive on AMD hardware without AMD having to do all the work internally. "AMD has had this ethos of open source, which really plays to our advantage. Every frontier model that I use has already seen every bit of AMD source code." "It'll rewrite my spec for me because it's already in the training data. Which you can't get from closed ecosystems." "In fact I built a virtual GPU simulator just based off our public specs, and now I'm running it on the GPU. So now I can run cross-generational GPU simulations on existing hardware." "We have that advantage. And we've run a Dev Day contest where we generated more tokens on AMD — Triton kernels and HIP kernels — than existed on the internet at the time." "So now that's all part of the pre-training data. It's a superpower because now you're open source, and you're agentically accelerating this process."

English
2
1
39
8.5K
GPU MODE
GPU MODE@GPU_MODE·
We helped host a kernel competition for @tri_dao's course at Princeton's COS 484: Natural Language Processing If you're a university or educator that's interested in live programming problems for your students please reach out!
English
2
2
79
23.4K