{"schemaVersion":1,"id":"tinygrad","name":"tinygrad","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/tinygrad/","officialUrl":"https://github.com/tinygrad/tinygrad","isCatalog":false,"description":"A small tensor and neural network framework with automatic differentiation: it enables ML experiments and investigation of your own kernels.","tasks":["Create a small neural network experiment","Check automatic differentiation and run a small model training loop"],"categoryIds":["ai","backend"],"subcategoryIds":["ai.orchestration","backend.api"],"tags":["tinygrad","ml","Development"],"aliases":["tinygrad/tinygrad","tinygrad"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"A local code pipeline under MIT; rights for the selected models are checked separately.","paidUsage":"Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Create a small neural network experiment","chooseWhen":["Create a small neural network experiment","Check automatic differentiation and run a small model training loop"],"considerInstead":[],"requirements":["Choose a device backend and check Device.DEFAULT; prepare data and a training loop for your experiment."],"limitations":["Costs and limits of free use: Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.","Terms of use: MIT for the code; dependencies have separate licenses.","Tensor API similarity to PyTorch does not imply full compatibility. The README notes that the library has not reached 1.0; verify your own numerical/performance results."],"faq":[{"question":"What can you use for free in tinygrad?","answer":"A local code pipeline under MIT; rights for the selected models are checked separately."},{"question":"What additional costs might arise with tinygrad?","answer":"Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights."},{"question":"What terms of use matter for tinygrad?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with tinygrad?","answer":"Define tensor operations, the model, and test training data. Check automatic differentiation and run a small model training loop. Connect the workflow to the application and make errors observable."},{"question":"What can I explore and modify in tinygrad beyond neural network layers?","answer":"This is a complete deep learning stack: Tensor/autograd, IR and compiler, kernel fusion, TinyJit and graph execution, and nn/optim/datasets. The compiler and IR can be modified; the README lists CPU, OpenCL, Metal, CUDA, AMD, NV, QCOM, and WebGPU backends. Source installation is recommended. Unlike JAX, full vmap/pmap is explicitly absent."}],"related":[],"sources":["https://github.com/tinygrad/tinygrad","https://raw.githubusercontent.com/tinygrad/tinygrad/HEAD/README.md","https://raw.githubusercontent.com/tinygrad/tinygrad/HEAD/LICENSE","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Create a small neural network experiment.","inputs":["Test documents or tasks, and a quality criterion.","Models, a runtime, and a computing budget."],"steps":["Define tensor operations, the model, and test training data.","Check automatic differentiation and run a small model training loop.","Connect the workflow to the application and make errors observable."],"checks":["Check the result against reference examples and invalid inputs.","Inference costs, model rights, and data handling have been established."]},"sources":["https://github.com/tinygrad/tinygrad","https://raw.githubusercontent.com/tinygrad/tinygrad/HEAD/README.md","https://raw.githubusercontent.com/tinygrad/tinygrad/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"AI / ML development tool","kind":"tool","pricingNote":"A local code pipeline under MIT; rights for the selected models are checked separately. Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.","notes":null,"labeledSources":[{"url":"https://github.com/tinygrad/tinygrad","label":"Official source"},{"url":"https://raw.githubusercontent.com/tinygrad/tinygrad/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/tinygrad/tinygrad/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}