Nicolas Hug is an ML engineer working on PyTorch at Meta AI. The PyTorch governance documentation lists Hug as a maintainer of TorchVision, the computer vision library of datasets, transforms and models, and of TorchCodec, which handles media decoding and encoding for PyTorch. Hug is also listed among the emeritus maintainers of scikit-learn, and Hug's GitHub account hosts Surprise, a Python toolkit for building and analyzing recommender systems.12345
At a glance
- Current role
- ML engineer, working on PyTorch
- Company
- Meta
- Sector
- Company
- Work listed
- 3
- Sources cited
- 12
- Profile reviewed
Open-source work
Hug describes the current work as part of the PyTorch team at Meta, focused on preprocessing and performance, and as the primary developer of TorchVision and TorchCodec. PyTorch's governance documentation lists Hug as a maintainer of both libraries: TorchVision provides datasets, transforms and models for computer vision, and TorchCodec handles media decoding and encoding for PyTorch.6234
Before joining Meta, Hug was a postdoc and part of scikit-learn's core development team for several years, and is now listed among its emeritus maintainers. In scikit-learn 0.21 Hug added the histogram-based gradient boosting estimators HistGradientBoostingClassifier and HistGradientBoostingRegressor, an implementation inspired by LightGBM.657
During a PhD, Hug developed Surprise, a Python library for building and analyzing recommender systems, which Hug described in a 2020 paper in the Journal of Open Source Software.68
Teaching and writing
Hug's blog explains technical topics in machine learning, including a four-part 2017 series on matrix factorization for recommendation, 2019 posts on gradient boosting and on Cython, and a 2022 deep dive into the internals of the FFCV data-loading library.9
Work and contributions
TorchVision Open-source code
Listed as a TorchVision maintainer on the PyTorch Governance "Maintainers" page; TorchVision provides datasets, model architectures and image transformations for computer vision.21310
TorchCodec Open-source code
Listed as a TorchCodec maintainer on the PyTorch Governance "Maintainers" page; TorchCodec provides media decoding and encoding for PyTorch.21411
scikit-learn Open-source code
Listed among the emeritus maintainers on the scikit-learn About page.512
Timeline
- Began a four-part blog series on matrix factorization for recommendation.9
- Added histogram-based gradient boosting estimators to scikit-learn in version 0.21.7
- Published a blog post explaining gradient boosting as gradient descent.9
- Published a Journal of Open Source Software paper on the Surprise recommender systems library.8
- Published a deep dive into the internals of the FFCV data-loading library.9
Where they work
- Meta 106 people in the wiki
Related people
- Yuxin WuAlso at Meta
- Yangqing JiaAlso at Meta
- Francisco MassaAlso at Meta
- Ross GirshickAlso at Meta
- Andrea VedaldiAlso at Meta
- Sayak PaulComputer vision · ML frameworks and libraries
- Tong HeML frameworks and libraries · Computer vision
- François CholletML frameworks and libraries
- Łukasz KaiserML frameworks and libraries
- Xiaodong HeComputer vision
Suggest a correction or removal
Profiles cover public professional work only, and each statement cites a source. If something is out of date, missing or wrong, tell us and link a source. People can also ask for their profile to be corrected or removed.
References
12 sources · profile reviewed Oct 21, 2026 · data updated Oct 21, 2026
- NicolasHug (Nicolas Hug) on GitHub
- PyTorch Governance | Maintainers (PyTorch 2.14 documentation)
- pytorch/vision README (datasets, transforms and models for computer vision)
- meta-pytorch/torchcodec README (media decoding and encoding for PyTorch)
- scikit-learn — About us (maintainers and history)
- About — Nicolas Hug
- Release Highlights and changelog for scikit-learn 0.21
- Surprise: A Python library for recommender systems
- Blog — Nicolas Hug
- pytorch/vision LICENSE (BSD 3-Clause License)
- meta-pytorch/torchcodec LICENSE (BSD 3-Clause License)
- scikit-learn/scikit-learn COPYING (BSD 3-Clause License)