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.
Pick a small issue you can reproduce, then fix it with your AI coding agent.
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
- 37
- Category
- AI agents and LLM tools
- Language
- Rust
- License
- MIT
- Forked
- 2025-11-21
- Sync status
- In syncLast synced 2026-11-09
More in AI agents and LLM tools
/last30days is an AI-agent skill for researching recent discussions across social platforms, video, news, markets, and the web. It brings scattered signals together in a synthesized brief for trend research and preparation.
Forked 2026-10-22Last synced 2026-11-09License: MITAI agents and LLM toolsGitHub
A portable C99 inference engine for running Kimi K3 on a CPU without a GPU or machine-learning framework. It streams the large checkpoint from disk to support inference with limited RAM, for batch text generation or text chat.
Forked 2026-10-21Last synced 2026-11-09License: Apache-2.0AI agents and LLM toolsGitHub
LayerFS gives AI agents writable workspaces over shared history, so they can work in parallel without copying the base. Use it to checkpoint, branch, rewind, and merge agent changes.
Forked 2026-10-21Last synced 2026-11-09License: MITAI agents and LLM toolsGitHub
Magnitude runs open models locally and tunes kernels for your hardware. Use it to connect local models to supported agents or an OpenAI-compatible client.
Forked 2026-10-19Last synced 2026-11-09License: Apache-2.0AI agents and LLM toolsGitHub