From Torch to PyTorch: How AI Ended Up Speaking the “Wrong” Language Twice

The framework that trains most of the world’s AI runs on a language nobody designed for mathematics — and it replaced another one exactly like it. The story of two bets, fourteen years apart.
PyTorch
Lua
Python
Deep Learning
Language History
Author

Ricky Macharm

Published

September 17, 2026