Re:Micrograd-CUDA: adapting Karpathy's tiny autodiff engine ...
by cataPhil on Wednesday March 20, 2024 @01:19PM
(#39769504)
I recently decided to turbo-teach myself basic cuda with a proper project. I really enjoyed Karpathy’s micrograd (https://github.com/karpathy/micrograd), so I extended it with cuda kernels and 2D tensor logic. It’s a bit longer than the original project, but it’s still very readable for anyone wanting to quickly learn about gpu acceleration in practice.