A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API
☆14,842Aug 8, 2024Updated last year
Alternatives and similar repositories for micrograd
Users that are interested in micrograd are comparing it to the libraries listed below
Sorting:
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆31,471Updated this week
- An autoregressive character-level language model for making more things☆3,681Jun 4, 2024Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆53,743Nov 12, 2025Updated 3 months ago
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆23,746Aug 15, 2024Updated last year
- Neural Networks: Zero to Hero☆20,397Aug 18, 2024Updated last year
- LLM training in simple, raw C/CUDA☆28,993Jun 26, 2025Updated 8 months ago
- Inference Llama 2 in one file of pure C☆19,213Aug 6, 2024Updated last year
- Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more☆34,940Updated this week
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,329Jul 1, 2024Updated last year
- LLM101n: Let's build a Storyteller☆36,390Aug 1, 2024Updated last year
- Development repository for the Triton language and compiler☆18,501Updated this week
- Tensor library for machine learning☆14,152Updated this week
- LLM inference in C/C++☆96,322Updated this week
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆157,071Updated this week
- Pretrain, finetune ANY AI model of ANY size on 1 or 10,000+ GPUs with zero code changes.☆30,884Updated this week
- Tensors and Dynamic neural networks in Python with strong GPU acceleration☆97,870Updated this week
- Fast and memory-efficient exact attention☆22,361Updated this week
- MLX: An array framework for Apple silicon☆24,066Updated this week
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆41,706Updated this week
- Flexible and powerful tensor operations for readable and reliable code (for pytorch, jax, TF and others)☆9,401Feb 20, 2026Updated last week
- A high-throughput and memory-efficient inference and serving engine for LLMs☆71,234Updated this week
- Flax is a neural network library for JAX that is designed for flexibility.☆7,094Updated this week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆17,384Feb 8, 2026Updated 3 weeks ago
- A library for efficient similarity search and clustering of dense vectors.☆39,195Feb 24, 2026Updated last week
- llama3 implementation one matrix multiplication at a time☆15,243May 23, 2024Updated last year
- Efficiently computes derivatives of NumPy code.☆7,460Feb 23, 2026Updated last week
- DSPy: The framework for programming—not prompting—language models☆32,381Feb 24, 2026Updated last 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,516Updated this week
- Pure Python from-scratch zero-dependency implementation of Bitcoin for educational purposes☆1,865Jun 21, 2021Updated 4 years ago
- ☆4,534Jan 31, 2024Updated 2 years ago
- The fastai book, published as Jupyter Notebooks☆24,617Aug 16, 2024Updated last year
- 🦜🔗 The platform for reliable agents.☆127,809Updated this week
- Interactive deep learning book with multi-framework code, math, and discussions. Adopted at 500 universities from 70 countries including …☆28,302Aug 18, 2024Updated last year
- If tinygrad wasn't small enough for you...☆777Mar 9, 2024Updated last year
- 🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.☆32,873Updated this week
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆86,149Feb 19, 2026Updated last week
- Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!☆41,855Updated this week
- Solve puzzles. Learn CUDA.☆11,970Sep 1, 2024Updated last year
- Animation engine for explanatory math videos☆84,926Feb 13, 2026Updated 2 weeks ago