Hacker News new | ask | show | jobs
by mhh__ 1311 days ago
TinyGrad is basically that and is open source, albeit not in C
1 comments

Yes, kind of, but it depends on NumPy which is fairly big if your goal is for students to grasp and demystify the whole way down to the hardware. Other candidates would be torch7 [1], but it is somewhat married to the Lua API which drives it.

[1]: https://github.com/torch/torch7

You might like micrograd: https://github.com/karpathy/micrograd. There's also this video where the author explains how he built it: https://www.youtube.com/watch?v=VMj-3S1tku0