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

  1. 1
    Disney uses PyTorch for animated character recognition
    3 people · 10 points · first shared 2020 · discussion on HN
  2. 2
  3. 3
    Using PyTorch Models in Production with Cortex
    2 people · 6 points · first shared 2019 · discussion on HN
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
    Active Transfer Learning with PyTorch
    1 people · 3 points · first shared 2020 · discussion on HN
  13. 13
  14. 14
  15. 15

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:…

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close