Milad Mohammadi is a senior software engineering leader and ML systems expert with 11+ years of experience building high-performance AI runtimes, compilers, and distributed compute platforms from research to production. Currently leading PyTorch at Meta after scaling PyTorch TPU efforts at Google, he has shipped TPU support across multiple generations and driven features like quantization, FP8, gSPMD and custom kernels. His background spans Stanford PhD work in energy-efficient compilers and architecture, leadership roles at Apple and startups, and founding a clinical AI company—bringing both deep technical rigor and product/entrepreneurial instincts. An active open-source contributor, he has added core operations and shape-inference improvements to PyTorch/XLA, helping enable PyTorch on TPUs at cloud scale. Notably, he blends compiler-level systems know-how with hands-on ML engineering, making him adept at moving research-grade innovations into robust, large-scale tooling.
11 years of coding experience
6 years of employment as a software developer
Certificate Mini-MBA Innovation & Entrepreneurship, Certificate Mini-MBA Innovation & Entrepreneurship at Stanford University Graduate School of Business
BS (Honors) Electrical Engineering, BS (Honors) Electrical Engineering at The University of British Columbia
Ph.D. Computer Systems, Ph.D. Computer Systems at Stanford University
Contributions:3 releases, 422 reviews, 331 commits in 1 year 5 months
Contributions summary:Milad primarily focused on implementing and testing new PyTorch operations within the XLA framework. The commits demonstrate the addition of `std_mean`, `var_mean`, `amin`, `amax`, `sgn`, `sign`, `inverse`, and `logdet` operations, alongside associated testing code. These contributions involve modifying core XLA code, the tensor methods, and test files to integrate and validate these new functionalities, improving PyTorch/XLA's coverage.
Tensors and Dynamic neural networks in Python with strong GPU acceleration
Role in this project:
Backend Developer
Contributions:43 reviews, 14 commits, 10 PRs in 3 months
Contributions summary:Milad's primary contributions focused on enhancing the shape inference capabilities within the LazyTensor framework. They implemented support for the `expand` operation, addressing related issues and integrating symbolic constants. Additionally, the user worked on updating the build process for PyTorch/XLA CI testing, and added methods to the `dynamic_ir` module. These changes involved modifications to both C++ and Python code, crucial for the overall functionality of the PyTorch library, specifically the XLA integration.
pythongpu-accelerationdeep-learninggpunumpy
Find and Hire Top DevelopersWe’ve analyzed the programming source code of over 60 million software developers on GitHub and scored them by 50,000 skills. Sign-up on Prog,AI to search for software developers.
Request Free Trial
Milad Mohammadi - Software Engineer Lead PyTorch at Meta