Skip to main content

Thomas Viehmann

Thomas Viehmann - PyTorch core developer and co-author of Deep Learning with PyTorch

Quick Facts

Full Name
Thomas Viehmann, PhD
Nationality
German
Education
University of Bonn (PhD in Mathematics)
Career
Former PyTorch Core Developer, Machine Learning Consultant (MathInf GmbH), and Co-Author of Deep Learning with PyTorch
Bestselling Book
Deep Learning with PyTorch (Manning Publications, 2020)
Famous For
Deep Learning with PyTorch, PyTorch Autograd / Tensor Internals, and Applied ML Consulting

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

Book cover for Deep Learning with PyTorch by Howard Huang, Eli Stevens, Luca Antiga & Thomas Viehmann

Deep Learning with PyTorch

Howard Huang, Eli Stevens, Luca Antiga & Thomas Viehmann

Related Thinkers & Researchers

All Thinkers

Science Petal

Affiliate Disclosure: As an Amazon Associate, Science Petal earns from qualifying purchases made through links at no additional cost to you. Any commission earned helps support the research and writing behind these articles, and I only recommend resources that have genuinely shaped my own understanding of the topics covered here.

© 2026 Science Petal. All rights reserved.