$npx skillfedfor your agent

tinygrad

You like pytorch? You like micrograd? You love tinygrad! <3

With conditionsPyPI Artificial IntelligenceReleased May 2026113.7K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — tinygrad-0.13.0-py3-none-any.whl
v0.13.0 · released 2026-05-22 · Python >=3.11

Yes, if you are building models and want a transparent, minimal framework or need to understand how deep learning compilers work. Yes-with-conditions if you rely on advanced functional transforms or need production-grade performance guarantees—tinygrad prioritizes simplicity and readability over feature parity. No if you need a mature, battle-tested ecosystem with extensive third-party libraries and pre-trained models.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later.
  • Accelerator support (CUDA, Metal, etc.) depends on system libraries and environment configuration.
  • Low install friction with a pure Python wheel.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for both research and production deployments.

last release 2026-05-22 (84 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 113,736 downloads/mo, #12,332 on PyPI

Verify before relying

pip install tinygrad
from tinygrad import Tensor, nn

class LinearNet:
  def __init__(self):
    self.l1 = Tensor.kaiming_uniform(784, 128)
    self.l2 = Tensor.kaiming_uniform(128, 10)
  def __call__(self, x):
    return x.flatten(1).dot(self.l1).relu().dot(self.l2)

model = LinearNet()
optim = nn.optim.Adam([model.l1, model.l2], lr=0.001)
  • Whether accelerator support (OpenCL, CUDA, Metal, AMD, QCOM, WebGPU) is fully functional across all listed backends.
  • Performance characteristics and memory overhead compared to PyTorch in real training scenarios.
  • Completeness of functional transforms (vmap, pmap) relative to other frameworks.
Same gist for agents: .md · .json

What it is and what it does

tinygrad is a deep learning framework designed to be small, readable, and hackable while remaining practical for real neural network training. It combines a PyTorch-like eager tensor API with autograd, an IR-based compiler inspired by JAX and TVM, and built-in support for optimizers, layers, and datasets. The framework uses lazy evaluation to fuse operations into single kernels and supports multiple accelerators (CPU, CUDA, Metal, OpenCL, AMD, QCOM, WebGPU) by requiring only ~25 low-level ops per backend.

Unlike PyTorch, tinygrad exposes its entire compiler and IR for inspection and modification, making it suitable for researchers and developers who want visibility into how computation is compiled and scheduled. It is intentionally kept minimal to remain understandable—the core library prioritizes readability and simplicity over feature completeness, though it covers the essentials: tensor operations, automatic differentiation, neural network layers, optimizers, and data loading.

Use it for

  • Learning how deep learning frameworks work internally by reading and modifying the compiler and IR.
  • Training neural networks on custom or less common accelerators by implementing a new backend.
  • Prototyping machine learning models with a PyTorch-like API in a codebase small enough to fully understand.
  • Research on compiler optimizations and kernel scheduling for tensor operations.
  • Embedded or resource-constrained deployments where framework size and hackability matter.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building models and want a transparent, minimal framework or need to understand how deep learning compilers work.

Yes-with-conditions if you rely on advanced functional transforms or need production-grade performance guarantees—tinygrad prioritizes simplicity and readability over feature parity. No if you need a mature, battle-tested ecosystem with extensive third-party libraries and pre-trained models.

Install

tinygrad on PyPI

Before you install

Low install friction with a pure Python wheel. Actively maintained with a recent release 84 days ago. Requires Python 3.11 or later.

Requires Python 3.11 or later. Accelerator support (CUDA, Metal, etc.) depends on system libraries and environment configuration.

License in practice

MIT license permits commercial and private use with minimal restrictions, making it suitable for both research and production deployments.

Quickstart

pip install tinygrad
from tinygrad import Tensor, nn

class LinearNet:
  def __init__(self):
    self.l1 = Tensor.kaiming_uniform(784, 128)
    self.l2 = Tensor.kaiming_uniform(128, 10)
  def __call__(self, x):
    return x.flatten(1).dot(self.l1).relu().dot(self.l2)

model = LinearNet()
optim = nn.optim.Adam([model.l1, model.l2], lr=0.001)

Verify before relying

  • Whether accelerator support (OpenCL, CUDA, Metal, AMD, QCOM, WebGPU) is fully functional across all listed backends.
  • Performance characteristics and memory overhead compared to PyTorch in real training scenarios.
  • Completeness of functional transforms (vmap, pmap) relative to other frameworks.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.11
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 84 days since the last release
First released
Downloads113,736 / month, #12,332 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3

Evidence: tinygrad-0.13.0-py3-none-any.whl

Tags

Capabilities
minimal deep learning frameworkpytorch alternative lightweighttensor autograd libraryneural network compilerhackable machine learning stack
Topics
compiler-visibleminimal-frameworkmulti-backend

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “minimal deep learning framework”

  • tinygradtinygrad is a minimal deep learning framework providing a tensor…
  • dopamine-rlDopamine is a research framework for prototyping reinforcement…
  • ncnnncnn is a neural network inference framework that loads and runs…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also torch · autograd · torchviz · tensorflow-cpu · pytorch · nvidia-cudnn-cu13 · pytorch_revgrad · nvidia-cudnn-cu12 · tensorly · torch-optimizer