Show HN: Autograd.c – A tiny ML framework built from scratch (github.com)
built a tiny pytorch clone in c after going through prof. vijay janapa reddi's mlsys book: mlsysbook.ai/tinytorch/
perfect for learning how ml frameworks work under the hood :)
6 comments
[ 2.3 ms ] story [ 19.8 ms ] threadif you are interested in the technical details, the design specs are here: https://github.com/sueszli/autograd.c/blob/main/docs/design....
if you are working on similar mlsys or compiler-style projects and think there could be overlap, please reach out: https://sueszli.github.io/
https://enzyme.mit.edu
Edit: I asked this before I read the design decisions. Reasoning is, as far as I understand, that for simplificity no in-place operations hence accumulating it done on a new tensor.