tinygrad.js runs the real tinygrad in your browser on your GPU via WebGPU
CatAstro_Piyush · x · 2026-11-17
A developer released tinygrad.js, which runs the unmodified tinygrad Python library in your browser, on your GPU.
How it works:
- Python runs in a Web Worker via Pyodide, and tinygrad's kernels execute as WGSL compute shaders on the browser's WebGPU device. No Python server, CUDA, or native install required.
- It's not a reimplementation: tinygrad.js installs the unmodified tinygrad wheel from PyPI and adds a browser WebGPU device. Tensor, autograd, nn, the optimizers, TinyJit, the scheduler, and the WGSL code generator are all upstream code.
- A bundled playground (Chrome/Edge 137+) lets you paint a dataset and watch tinygrad train a small MLP live on your GPU.
A cool foundation for interactive in-browser ML demos and teaching tools.
More from Infra
- NVIDIA open-sources cuPotential, speeding molecular dynamics up to ~4x on GPUs — AllThingsApx · 2026-11-17
- PiPNN removes the search step from graph index builds, cutting billion-vector build times from days to minutes — qdrant_engine · 2026-11-17
- Data Center Backlash Grows Loud, With Historical Echoes of 'A Nuisance Has No Rights' — justin_hart · 2026-11-17
- Constrained Decoding for Function Calling Cuts Endpoint Throughput by 17%-90% — remilouf · 2026-11-17
- Terray taps NVIDIA CUDA kernels to speed drug-design model TerraBind up to 7x — AllThingsApx · 2026-11-17
- Big Tech locks up 60% of DRAM supply it can't deploy yet — Reddit proposal for use-it-or-lose-it auctions — politefella0 · 2026-11-17