PyTorch Blog
medium.com/pytorch · Company blog · on HN since 2019
The official PyTorch blog on Medium, with case studies, library announcements, and tutorials from the PyTorch team and community.
What HN saysCommenters link its posts on data versioning, Cortex model deployment, and compact transformers to answer questions about ML tooling.
28HN people shared it
5linked it in comments
32stories submitted
84story points
3 years agolast shared
2019people per year2026
Most-shared posts
- 1Disney uses PyTorch for animated character recognition3 people · 10 points · first shared 2020 · discussion on HN
- 2How PyTorch Lightning became the first ML framework to run CI on TPUs2 people · 6 points · first shared 2020 · discussion on HN
- 3Using PyTorch Models in Production with Cortex2 people · 6 points · first shared 2019 · discussion on HN
- 4The project uses PyTorch for development and ONNX for the production system2 people · 5 points · first shared 2020 · discussion on HN
- 5Training Compact Transformers from Scratch in 30 Minutes with PyTorch2 people · 3 points · first shared 2021 · discussion on HN
- 6How to iterate faster in machine learning by versioning data and models featuring detectron2 4fd2f9338df52 people · first shared 2020
- 7Labeling-in-the-Loop Deep Learning with PyTorch and Scale AI1 people · 8 points · first shared 2020 · discussion on HN
- 8TorchServe and TorchElastic-Kubernetes, PyTorch libs for serving and training1 people · 5 points · first shared 2020 · discussion on HN
- 9How Datarock is using PyTorch for more intelligent mining decision making1 people · 4 points · first shared 2020 · discussion on HN
- 10MLflow and PyTorch integration – autologging and TorchServe plugin1 people · 3 points · first shared 2020 · discussion on HN
- 11Getting Started with Distributed Machine Learning with PyTorch and Ray1 people · 3 points · first shared 2021 · discussion on HN
- 12Active Transfer Learning with PyTorch1 people · 3 points · first shared 2020 · discussion on HN
- 13PyTorch / XLA Is Now Generally Available on Google Cloud TPUs1 people · 3 points · first shared 2020 · discussion on HN
- 14PyTorch Computer Vision Library for Experts and Beginners1 people · 3 points · first shared 2020 · discussion on HN
- 15Lyft Uses PyTorch to Power Machine Learning for Their Self-Driving Cars1 people · 2 points · first shared 2020 · discussion on HN
What HN people wrote when they linked it
godelski · 2023-11-23
I don't have any great recommendations and unfortunately my advice may be not what you want to hear. What I tell my students is "You don't need to know math to build good models, but you need to know math to know why your models are wrong." But this is even a contentious statement within the community. (Personally I'm more interested in exploring what we can build and understand rather than focusing on throwing more compute and data at problems. There's a lot of work to be done that does not require significant compute, but it isn't flashy and you'll get little fame. Every famous model you know has some unsung hero(s) who built the foundation before compute was thrown at the problem). I was previously a physicist and we similarly frequently express that you do not know the material unless you can do the math. Physicists are trained in generating analogies as they help communication but this sometimes leads to people convincing themselves that they understand things far more than they actually do. They say the devil is in the details, and boy are there a lot of details. (Of the science communicators, I'm happy those are the ones you mention though!) But do not take this as gatekeeping! These groups are often happy to help with the math and recommend readings. ML is kinda a while west and you can honestly pick a subdomain of math and probably find it useful, but I would start by making sure you have a foundation in multivariate calculus and linear algebra.
As to paper…
akarve · 2020-04-28
This is close to home. Our approach to DevOps for ML Data is to use S3 as the git core and build immutable datasets and models on top of S3 object versioning. I wrote the piece below on "Versioning data and models for faster iteration in ML" earlier this year. The key idea is for every model iteration to be a pure function F(code, environment, data). Ideas welcome: https://medium.com/pytorch/how-to-iterate-faster-in-machine-learning-b…
westurner · 2020-03-13
> What other platforms are there for versioning data and recording data provenance?
Quilt also versions data and data pipelines:
https://medium.com/pytorch/how-to-iterate-faster-in-machine-learning-b…
https://github.com/quiltdata/quilt (Python)
calebkaiser · 2020-01-30
Have you checked out Cortex? It's an open source platform for deploying PyTorch models easily. I wrote an article for the PyTorch blog about it: https://medium.com/pytorch/how-to-build-production-software-with-pytor…
GitHub: https://github.com/cortexlabs/cortex
Full disclosure/shameless plug: I work on Cortex
stevenwalton · 2023-12-02
Logged into my personal account for this one! I'm a lead author on a paper that explored exactly. It does enable faster training and smaller model sizes. For reference, you can get 80% accuracy on CIFAR-10 in ~30 minutes of CPU (not using crazy optimizations). There are open questions about scaling but at the time we did not have access to big compute (really still don't) and our goals were focused on addressing the original ViT's claims of data constraints and necessities of pretraining for smaller datasets (spoiler, augmentation + overlapping patches plays a huge role). Basically we wanted to make a network that allowed people to train transformers from scratch for their data projects because pretrained models aren't always the best solutions or practical.
Paper: https://arxiv.org/abs/2104.05704
Blog: https://medium.com/pytorch/training-compact-transformers-from-scratch-…
CPU compute: https://twitter.com/WaltonStevenj/status/1382045610283397120
Crazy optimizations (no affiliation): 94% on CIFAR-10 in <6.3 seconds on a single A100 : https://github.com/tysam-code/hlb-CIFAR10
I also want to give maybe some better information about ViTs in general. Lucas Beyer is a good source and has some lectures as well as Hila Chefer and Sayak Paul's tutorials. Also, just follow Ross Wightman, the man is a beast
Lucas Beyer: https://twitter.com/giffmana/status/1570152923233144832
Chefer & Paul's All Things ViT:…