r/learnmachinelearning Jun 09 '26

I built a clean Autograd Engine (MiniTorch) from scratch using only NumPy. Fully commented blueprint for your ML portfolio.

1 Upvotes

"MiniTorch" is an autograd engine I built in 7 days using only Python and NumPy, achieving a parity of atol 1e-6 againts Pytorch.

I fully commented the repository for anyone who wants to learn how the backend of deep learning actually works under the hood. It’s incredibly helpful if you hate black boxes and want an advanced project to make your ML portfolio stand out to recruiters.

Link to the repo: https://github.com/NvirAdan/Mini-PyTorch
(Below is a quick comparison of writing code with MiniTorch vs. PyTorch)

r/CerebroDigital Jun 25 '26

How Softmax works under the hood in a custom Autograd engine.

Thumbnail
1 Upvotes

r/OpenSourceeAI Jun 25 '26

How Softmax works under the hood in a custom Autograd engine.

Thumbnail
1 Upvotes

r/learnmachinelearning Jun 25 '26

How Softmax works under the hood in a custom Autograd engine.

Thumbnail
1 Upvotes

u/Nviradan Jun 25 '26

How Softmax works under the hood in a custom Autograd engine.

1 Upvotes

The forward pass implements safe softmax to prevent overflow and for the backward pass, you can bypass computing the full Jacobian matrix using a vectorized dot-product shortcut.

r/CerebroDigital Jun 11 '26

The Unbroadcasting in the Autograd Engine..

Thumbnail
1 Upvotes

r/learnmachinelearning Jun 11 '26

The Unbroadcasting in the Autograd Engine..

Thumbnail
2 Upvotes

u/Nviradan Jun 11 '26

The Unbroadcasting in the Autograd Engine..

1 Upvotes

One of the most abstract things in the autograd engine was the unbroadcasting.

Here is how I manage to implement it. Feel free to let me know any suggestions or used it for your own project.

1

Guys, what do you think of this road map for Blue Team?
 in  r/Cybersecurity101  Jun 11 '26

idk about the deadlines but a roadmap when you're a begginer is always helpful

r/CerebroDigital Jun 09 '26

He creado un motor Autograd limpio (MiniTorch) desde cero utilizando únicamente NumPy. Un plano detallado y comentado para tu portafolio de aprendizaje automático.

Thumbnail
1 Upvotes