A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API
☆15,147Aug 8, 2024Updated last year
Alternatives and similar repositories for micrograd
Users that are interested in micrograd are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆31,715Updated this week
- An autoregressive character-level language model for making more things☆3,745Jun 4, 2024Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆55,432Nov 12, 2025Updated 4 months ago
- Neural Networks: Zero to Hero☆21,025Aug 18, 2024Updated last year
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆23,950Aug 15, 2024Updated last year
- LLM training in simple, raw C/CUDA☆29,216Jun 26, 2025Updated 8 months ago
- Inference Llama 2 in one file of pure C☆19,302Aug 6, 2024Updated last year
- LLM101n: Let's build a Storyteller☆36,559Aug 1, 2024Updated last year
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,385Jul 1, 2024Updated last year
- Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more☆35,190Updated this week
- Development repository for the Triton language and compiler☆18,708Updated this week
- LLM inference in C/C++☆98,911Updated this week
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆158,060Updated this week
- Tensor library for machine learning☆14,252Mar 16, 2026Updated last week
- Tensors and Dynamic neural networks in Python with strong GPU acceleration☆98,480Updated this week
- Pure Python from-scratch zero-dependency implementation of Bitcoin for educational purposes☆1,872Jun 21, 2021Updated 4 years ago
- Pretrain, finetune ANY AI model of ANY size on 1 or 10,000+ GPUs with zero code changes.☆30,952Updated this week
- ☆4,574Jan 31, 2024Updated 2 years ago
- If tinygrad wasn't small enough for you...☆784Mar 9, 2024Updated 2 years ago
- MLX: An array framework for Apple silicon☆24,597Updated this week
- Video+code lecture on building nanoGPT from scratch☆4,839Aug 13, 2024Updated last year
- Flexible and powerful tensor operations for readable and reliable code (for pytorch, jax, TF and others)☆9,438Feb 20, 2026Updated last month
- Fast and memory-efficient exact attention☆22,832Updated this week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆17,599Feb 8, 2026Updated last month
- llama3 implementation one matrix multiplication at a time☆15,252May 23, 2024Updated last year
- A high-throughput and memory-efficient inference and serving engine for LLMs☆73,479Updated this week
- Notebooks and various random fun☆1,152Apr 18, 2023Updated 2 years ago
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆41,869Updated this week
- Flax is a neural network library for JAX that is designed for flexibility.☆7,127Updated this week
- The fastai book, published as Jupyter Notebooks☆24,780Aug 16, 2024Updated last year
- Interactive deep learning book with multi-framework code, math, and discussions. Adopted at 500 universities from 70 countries including …☆28,460Aug 18, 2024Updated last year
- Efficiently computes derivatives of NumPy code.☆7,464Mar 16, 2026Updated last week
- A library for efficient similarity search and clustering of dense vectors.☆39,403Updated this week
- The agent engineering platform☆130,454Updated this week
- DSPy: The framework for programming—not prompting—language models☆33,038Updated this week
- Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.☆41,799Updated this week
- Solve puzzles. Learn CUDA.☆12,007Sep 1, 2024Updated last year
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆88,603Mar 7, 2026Updated 2 weeks ago
- Inference code for Llama models☆59,250Jan 26, 2025Updated last year