News for hackers. Stuff that matters.
Re:GPU Puzzles by srush on Monday September 23, 2024 @08:20AM (#41625304)
I made these a couple of years ago as a teaching exercise for https://minitorch.github.io/. At the time the resources for doing anything on GPUs were pretty sparse and the NVidia docs were quite challenging.

These days there are great resources for going deep on this topic. The CUDA-mode org is particularly great, both their video series and PMPP reading groups.

Re:GPU Puzzles by lins1909 on Monday September 23, 2024 @12:14PM (#41627672)
Thanks Sasha - this looks like a great resource.Just to be clear, would you recommend going through other newer resources than this instead?

Not sure if your comment is to discourage someone from going through this.

Re:GPU Puzzles by srush on Monday September 23, 2024 @12:25PM (#41627794)
These still hold up, and I think they're a great first step. But they no longer get you to the goal line. Think about it more as conceptual practice, before you enter the jungle.
Re:GPU Puzzles by lins1909 on Monday September 23, 2024 @01:00PM (#41628162)
Got it, thank you.
Re:GPU Puzzles by nextos on Monday September 23, 2024 @10:06AM (#41626267)
Slightly offtopic, but any chance you could update or re-upload code for your https://github.com/harvardnlp/DeepLatentNLP tutorial? I found the NLP latent variable models discussed there really interesting, and notebooks were excellent. However, these seem gone and the only thing left are slides?

Alternatively, any other places that discuss the same topics, including some code? I could only find equivalent discussions with code in Pyro docs and Kevin Murphy's book, volume 2. But these are more sparse as they also cover many other topics.

Re:GPU Puzzles by srush on Monday September 23, 2024 @12:08PM (#41627573)
I'll take a look. Yeah Pyro is the best thing to do here. But it would be nice to revisit some of these implementationz
Re:GPU Puzzles by nextos on Monday September 23, 2024 @01:51PM (#41628682)
Thank you so much!
Re:GPU Puzzles by bytepoet on Monday September 23, 2024 @09:27AM (#41625866)
Thanks a lot, Sasha, for creating these. I found your LLM training puzzles to be excellent as well.
Re:GPU Puzzles by olive247 on Friday September 27, 2024 @08:11PM (#41676773)
Do you have links to the other great resources you are referring to?