Thomas Viehmann

Quick Facts
Introduction
Thomas Viehmann, PhD, is a German mathematician, former PyTorch Core Developer, machine-learning consultant at MathInf GmbH in Munich, and co-author—with Eli Stevens and Luca Antiga (joined by Howard Huang on the second edition)—of Deep Learning with PyTorch (2020).
Moving from calculus-of-variations and PDE mathematics into open-source framework engineering (known across PyTorch GitHub commits as t-vi), Viehmann helped explain PyTorch's tensor storage, Autograd engine, and deployment export internals for working engineers.
Early Life
Completing pure mathematics research at the University of Bonn—including calculus-of-variations and PDE publications alongside Felix Otto—before transitioning into open-source ML consulting in Munich, Viehmann brought mathematical rigor to PyTorch internals.
Education
Viehmann holds a PhD in Mathematics from the University of Bonn, specializing in calculus of variations and partial differential equations.
Career & Contributions
Contributing directly to PyTorch internals as a PyTorch Core Developer, running Munich consulting firm MathInf GmbH, and co-authoring Deep Learning with PyTorch (2020), Viehmann opened up what happens underneath high-level neural-network APIs:
- Zero-Copy Tensor Storage Views (Deep Learning with PyTorch, 2020): Clarified how PyTorch separates physical contiguous memory buffers from lightweight size, offset, and stride metadata—explaining why transposing tensors stays virtually instant.
- JIT / Export & Production Deployment: Detailed TorchScript tracing, mobile deployment constraints, and deterministic inference tuning for C++ and edge targets.
- Open-Source Community Stewardship: Mentored contributors across PyTorch forums and maintained compatibility fixes spanning major framework releases.
Collaborations & Intellectual Exchanges
Eli Stevens
Co-authored Deep Learning with PyTorch (2020) with Eli Stevens, pairing core tensor architecture with real medical-imaging pipelines.
Luca Antiga
Partnered with PyTorch co-author Luca Antiga on framework consistency and open-source developer education.
Howard Huang
Co-authored the second edition of Deep Learning with PyTorch alongside Howard Huang, Eli Stevens, and Luca Antiga.
Major Achievements & Honors
- Former PyTorch Core Developer and founder of Munich machine-learning consultancy MathInf GmbH.
- Co-authored Deep Learning with PyTorch (Manning Publications, 2020), adopted across engineering teams globally.
Legacy & Ongoing Influence
ML engineers rely on Viehmann's clear explanation of tensor strides, Autograd graphs, and deployment export trade-offs to debug silent GPU memory bugs and performance bottlenecks.
Books by Thomas Viehmann
Deep Learning with PyTorch
Howard Huang, Eli Stevens, Luca Antiga & Thomas Viehmann








