# karpathy/micrograd

> A tiny scalar\-valued autograd engine and a neural net library on top of it with PyTorch\-like API

Canonical: https://starboard.codevetter.com/explore/karpathy/micrograd

[Back to Discover](https://starboard.codevetter.com/discover)

![karpathy](https://avatars.githubusercontent.com/u/241138?v=4&s=40)

karpathy

# micrograd

[View on GitHub
](https://github.com/karpathy/micrograd)

A tiny scalar\-valued autograd engine and a neural net library on top of it with PyTorch\-like API

19k stars

Jupyter Notebook

Updated 22h ago

Created Apr 13, 2020

## Star history

\+3,014 stars
18\.8% growth


## Detected tools

No detected tools yet\.

## Similar projects

[![karpathy](https://avatars.githubusercontent.com/u/241138?v=4&s=24)

karpathy/ nn\-zero\-to\-hero

Neural Networks: Zero to Hero

Jupyter Notebook 26k 73%](https://starboard.codevetter.com/explore/karpathy/nn-zero-to-hero)[![pytorch](https://avatars.githubusercontent.com/u/21003710?v=4&s=24)

pytorch/ pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

Python 106k 72%](https://starboard.codevetter.com/explore/pytorch/pytorch)[![NVIDIA](https://avatars.githubusercontent.com/u/1728152?v=4&s=24)

NVIDIA/ tacotron2

Tacotron 2 \- PyTorch implementation with faster\-than\-realtime inference

Jupyter Notebook 5\.3k 70%](https://starboard.codevetter.com/explore/NVIDIA/tacotron2)[![eriklindernoren](https://avatars.githubusercontent.com/u/7977505?v=4&s=24)

eriklindernoren/ PyTorch\-YOLOv3

Minimal PyTorch implementation of YOLOv3

Python 7\.4k 74%](https://starboard.codevetter.com/explore/eriklindernoren/PyTorch-YOLOv3)[![karpathy](https://avatars.githubusercontent.com/u/241138?v=4&s=24)

karpathy/ minGPT

A minimal PyTorch re\-implementation of the OpenAI GPT \(Generative Pretrained Transformer\) training

Python 25k 73%](https://starboard.codevetter.com/explore/karpathy/minGPT)[![pytorch](https://avatars.githubusercontent.com/u/21003710?v=4&s=24)

pytorch/ torchtitan

A PyTorch native platform for training generative AI models

Python 5\.9k 73%](https://starboard.codevetter.com/explore/pytorch/torchtitan)[![gepa\-ai](https://avatars.githubusercontent.com/u/224673167?v=4&s=24)

gepa\-ai/ gepa

Optimize prompts, code, and more with AI\-powered Reflective Optimization

Jupyter Notebook 7\.5k 68%](https://starboard.codevetter.com/explore/gepa-ai/gepa)[![tinygrad](https://avatars.githubusercontent.com/u/132956020?v=4&s=24)

tinygrad/ tinygrad

You like pytorch? You like micrograd? You love tinygrad\! ❤️

Python 34k 70%](https://starboard.codevetter.com/explore/tinygrad/tinygrad)
