piston
A proof-of-concept library and web playground for training small sequence models such as Transformers and LSTMs directly in the browser using WebGPU. It is for learning and experimentation.
Share on XLicense: MIT
Overview
Piston is a proof-of-concept automatic differentiation library that runs on WebGPU, and Sequence Toy is the web playground built on it. Together they let you train small sequence models such as Transformers, LSTMs, GRUs and vanilla RNNs directly in the browser. Piston is a fork of Ratchet with autodiff added, so it is best seen as a learning and experimentation project.
Key features
- Trains sequence models in the browser with WebGPU
- Supports Transformers, LSTMs, GRUs and vanilla RNNs
- Automatic differentiation library written in Rust
- Sequence Toy web playground included
Best for
People who want to experiment with training small language models in a browser. The author describes Piston as a proof of concept, so do not expect a production framework.
- Upstream
- vinhowe/piston
- Fork on GitHub
- Guo-astro/piston
- Upstream stars
- 36
- Category
- AI agents and LLM tools
- Language
- Rust
- License
- MIT
- Forked
- 2025-11-21
- Sync status
- In syncLast synced 2026-10-10
More in AI agents and LLM tools
An open-source curriculum for learning AI engineering by implementing model internals, retrieval pipelines, and agent runtimes. Study through lessons, interactive labs, or staged coding projects, and inspect the code and evaluation results.
Forked 2026-10-09Last synced 2026-10-10License: MITAI agents and LLM toolsGitHub
A small, hackable character-level language model that learns patterns from line-based text files and generates similar items, such as name ideas.
Forked 2026-10-09Last synced 2026-10-10License: MITAI agents and LLM toolsGitHub
uzu is an inference engine for running AI models in apps, helping developers keep inference on-device instead of relying on remote services. Use it to download a model and build chat features.
Forked 2026-10-09Last synced 2026-10-10License: MITAI agents and LLM toolsGitHub
Anti Slop gives AI coding agents rules to avoid generic UI, filler text, and AI-shaped code. Use it as a filter alongside your own design direction.
Forked 2026-10-08Last synced 2026-10-10License: MITAI agents and LLM toolsGitHub