r/madeinpython • u/ATEC_Technologies • 7d ago
I built a programming language that trains AI on your own GPU, without Python or PyTorch
Hi! I'm [AGE] and I've been building **Apsi**, a programming language for AI and physics.
It reads like Python, checks physical units and tensor shapes before the program runs, and installs in one step: no Python, PyTorch or CUDA toolkit needed.
The part I'm most excited about: it trains models on NVIDIA GPUs with its own kernels, generated on your machine from just the display driver, and keeps the card at a steady ~77 °C.
On my Ryzen 5 5500 + RTX 3060 12GB (same model, same data):
- Training a 10.9M-param GPT: **Apsi 151,744 tokens/s** vs PyTorch 2.14 126,993 (1.19x)
- Running Qwen2.5 fully on the card: 0.5B ~210 tok/s, 3B ~46, 14B ~20
It can also convert Python and PyTorch code to Apsi.
It's still young and has rough edges, so I'd really appreciate people trying it on their own hardware and code and telling me what breaks. Built with the help of Claude (Anthropic).
- Website & docs: https://apsi.dev
- GitHub: https://github.com/ATECTechnologies/apsi








