Earlier quoted context omitted.
I agree! What NumPy is doing is actually quite beautiful. I was thinking of writing a custom c++ backend for this thing. Lets see what happens this year.
If someone is interested in low level tensor implementation details they could benefit from a course/book “let’s build numpy in C”. No need to complicate DL library design discussion with that stuff.
Build a Deep Learning Library
11–17 of 17 posts
Re: Build a Deep Learning Library
#12Isn't this what Karpathy does as well in the Zero to Hero lecture series on YT? I am sure this is great as well!
Re: Build a Deep Learning Library
#13This is good. Its well positioned for software engineers to understand DL stuff beyond the frameworks.
Re: Build a Deep Learning Library
#14Re: Build a Deep Learning Library
#15[1] https://github.com/workofart/ml-by-hand
[2] https://github.com/workofart/ml-by-hand/blob/main/examples/c...
[3] https://github.com/workofart/ml-by-hand/blob/main/examples/g...
Re: Build a Deep Learning Library
#16Thanks for sharing! It's inspiring to see more people "reinventing for insight" in the age of AI. This reminds me of my similar previous project a year ago when I built an entire PyTorch-style machine learning library [1] from scratch, using nothing but Python and NumPy. I started with a tiny autograd engine, then gradually created layer modules, optimizers, data loaders etc... I simply wanted to learn machine learni…
... turns out, this is only useful in some very specific scenarios, and it's probably not worth the extreme memory overhead.
Re: Build a Deep Learning Library
#17Thanks for sharing! It's inspiring to see more people "reinventing for insight" in the age of AI. This reminds me of my similar previous project a year ago when I built an entire PyTorch-style machine learning library [1] from scratch, using nothing but Python and NumPy. I started with a tiny autograd engine, then gradually created layer modules, optimizers, data loaders etc... I simply wanted to learn machine learni…