frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

The State of Machine Learning Frameworks in 2019

https://thegradient.pub/state-of-ml-frameworks-2019-pytorch-dominates-research-tensorflow-dominates-industry/
24•jxmorris12•4d ago

Comments

CaptainOfCoit•3h ago
> In 2019, the war for ML frameworks has two remaining main contenders: PyTorch and TensorFlow. My analysis suggests that researchers are abandoning TensorFlow and flocking to PyTorch in droves.

Seems they were pretty spot on! https://trends.google.com/trends/explore?date=all&q=pytorch,...

But to be fair, it was kind of obvious around ~2023 without having to look at metrics/data, you just had to look at what the researchers publishing novel research used.

Any similar articles that are a bit more up to date, maybe even for 2025?

Legend2440•3h ago
It’s still all pytorch.

Unless you’re working at Google, then maybe you use JAX.

mattnewton•2h ago
JAX is quite popular in many labs outside of Google doing large scale training runs, because up until recently the parallelism ergonomics were way better. PyTorch core is catching up (maybe already witn the latest release, haven’t used it yet) and there are a lot of PyTorch using projects to study though.
fleahunter•1h ago
Interesting point about the shift towards PyTorch. It really has been fascinating to see how preferences in frameworks can impact the entire research landscape. I remember back in 2017, I felt like I was constantly hearing about TensorFlow everywhere, and then out of nowhere, PyTorch just started gaining this insane momentum. It was almost like watching a sports team come out of nowhere to win the championship!

In my experience, a lot of it comes down to the community and the ease of use. Debugging in PyTorch feels way more intuitive, and I wonder if that’s why so many people are gravitating toward it. I’ve seen countless tutorials and workshops pop up for PyTorch compared to TensorFlow recently, which speaks volumes to how quickly things can change.

But then again, TensorFlow's got its enterprise backing, and I can't help but think about the implications of that. How long can PyTorch ride this wave before it runs into pressure from industry demands? And as we look toward 2025, do you think we'll see a third contender emerge, or will it continue to be this two-horse race?

CaptainOfCoit•58m ago
> But then again, TensorFlow's got its enterprise backing, and I can't help but think about the implications of that. How long can PyTorch ride this wave before it runs into pressure from industry demands?

PyTorch has a huge collection of companies, organizations and other entities backing it, it's not gonna suddenly disappear soon, that much is clear. Take a look at https://pytorch.org/foundation/ for a sample

kenjackson•34m ago
The thing about Tensorflow in 2017 is that everyone acknowledged how difficult it was to use. While it was almost the only game in town, no one was happy. Those are probably the areas where an upstart can come in and disrupt.
bonoboTP•25m ago
TensorFlow was an overengineered Google-style mess and they constantly made breaking changes.

All the graph building and session running was way too complex, with too much global state and variable sharing was complicated and based on naming and variable scopes and name scopes and so on.

It was an okay try, but that design simply didn't work so well for quick prototyping, iterating, debugging that's crucial in research.

PyTorch was much closer to just writing straightforward numpy code. TensorFlow 2 then tried to catch up with "eager mode", but in the background it was still a graph and tracing often broke and you had to write the code very carefully and with limitations.

In the end, Pytorch also developed proper production and serving tools as well as graph compilation, so now there's basically no reason to go to TensorFlow. Not even Google researchers use it (they use jax). I guess some industries still use it but at some point I expect Google to shut down TF and focus on the JAX ecosystem with some kind of conversion tools for TF.

oceansky•3h ago
In 2019 I delivered a instance segmentation project and I used Mask RCNN and tensorflow.

Nowadays it looks like yolo absolutely dominates this segment. Any data scientists can chime in?

deepsquirrelnet•2h ago
I haven’t used RCNN, but trained a custom YOLOv5 model maybe 3-4 years ago and was very happy with the results.

I think people have continued to work on it. There’s no single lab or developer, it mostly appears that the metrics for comparison are usually focused on the speed/MAP plane.

One nice thing is that even with modest hardware, it’s low enough latency to process video in real time.

bonoboTP•2h ago
SAM (Segment Anything Model) by Meta is a popular go-to choice for off the shelf segmentation.

But the exciting new research is moving beyond the narrow task of segmentation. It's not just about having new models that get better scores but building larger multimodal systems, broader task definitions etc.

jszymborski•3h ago
lil' self promo but I made a similar blog post in 2018.

I gave mxnet a bit of an outsized score in hindsight, but outside of that I think I got things mostly right.

https://source.coveo.com/2018/08/14/deep-learning-showdown/

jph00•2h ago
We knew in 2017 that PyTorch was the future, so moved all our research and teaching to it: https://www.fast.ai/posts/2017-09-08-introducing-pytorch-for... .
Scene_Cast2•1h ago
I found out that in the embedded world (think microcontrollers without an MMU), Tensorflow lite is still the only game in town (pragmatically speaking) for vendor-supported hardware acceleration.
leviliebvin•1h ago
I recently tried to port my model to JAX. Got it all working the "JAX WAY", and I believe I did everything correct, with one neat top level .jit() applied to the training step. Unfortunately I could not replicate the performance boost of torch.compile(). I have not yet delved under the hood to find the culprit, but my model is fairly simple so I was sort of expecting JAX JIT to perform just as well if not better than torch.compile().

Have anyone else had similiar experiences?

yberreby•48m ago
JAX code usually ends up being way faster than equivalent torch code for me, even with torch.compile. There are common performance killers, though. Notably, using Python control flow (if statements, loops) instead of jax.lax primitives (where, cond, scan, etc).

Synadia and TigerBeetle Commit $512k USD to the Zig Software Foundation

https://www.synadia.com/blog/synadia-tigerbeetle-zig-foundation-pledge
338•derekcollison•5h ago•95 comments

Libera Chat receives legal advice that the Online Safety Act does not apply to

https://libera.chat/news/advised
70•todsacerdoti•1h ago•13 comments

Rock Tumbler Instructions: Turning Rough Rocks into Beautiful Tumbled Stones

https://rocktumbler.com/tips/rock-tumbler-instructions/
67•debo_•2h ago•26 comments

Making a micro Linux distro (2023)

https://popovicu.com/posts/making-a-micro-linux-distro/
105•turrini•5h ago•21 comments

The future of Python web services looks GIL-free

https://blog.baro.dev/p/the-future-of-python-web-services-looks-gil-free
125•gi0baro-dev•6d ago•37 comments

Jacqueline – A minimal i386 kernel written in Pascal

https://github.com/danirod/jacqueline
23•peter_d_sherman•3d ago•2 comments

Unlocking free WiFi on British Airways

https://www.saxrag.com/tech/reversing/2025/06/01/BAWiFi.html
496•vinhnx•1d ago•119 comments

The Swift SDK for Android

https://www.swift.org/blog/nightly-swift-sdk-for-android/
635•gok•22h ago•249 comments

People with blindness can read again after retinal implant and special glasses

https://www.nbcnews.com/health/health-news/tiny-eye-implant-special-glasses-legally-blind-patient...
255•8bitsrule•4d ago•74 comments

Magic sizes enable high-fidelity assembly of programmable shells

https://arxiv.org/abs/2411.03720
15•PaulHoule•3d ago•1 comments

React vs. Backbone in 2025

https://backbonenotbad.hyperclay.com/
239•mjsu•8h ago•184 comments

Valetudo: Cloud replacement for vacuum robots enabling local-only operation

https://valetudo.cloud/
364•freetonik•5d ago•155 comments

Calculating the Bounding Rectangle of a Circular Sector

https://asawicki.info/news_1791_calculating_the_bounding_rectangle_of_a_circular_sector
7•ibobev•5d ago•0 comments

Key IOCs for Pegasus and Predator Spyware Removed with iOS 26 Update

https://iverify.io/blog/key-iocs-for-pegasus-and-predator-spyware-cleaned-with-ios-26-update
179•transpute•16h ago•114 comments

First convex polyhedron found that can't pass through itself

https://www.quantamagazine.org/first-shape-found-that-cant-pass-through-itself-20251024/
505•fleahunter•1d ago•142 comments

Study: MRI contrast agent causes harmful metal buildup in some patients

https://www.ormanager.com/briefs/study-mri-contrast-agent-causes-harmful-metal-buildup-in-some-pa...
215•nikolay•21h ago•189 comments

The State of Machine Learning Frameworks in 2019

https://thegradient.pub/state-of-ml-frameworks-2019-pytorch-dominates-research-tensorflow-dominat...
24•jxmorris12•4d ago•15 comments

Harnessing America's heat pump moment

https://www.heatpumped.org/p/harnessing-america-s-heat-pump-moment
208•ssuds•22h ago•466 comments

What is intelligence? (2024)

https://whatisintelligence.antikythera.org/
145•sva_•17h ago•96 comments

I invited strangers to message me through a receipt printer

https://aschmelyun.com/blog/i-invited-strangers-to-message-me-through-a-receipt-printer/
276•chrisdemarco•6d ago•103 comments

Against SQL

https://www.scattered-thoughts.net/writing/against-sql/
9•charles_irl•3h ago•2 comments

Context engineering is sleeping on the humble hyperlink

https://mbleigh.dev/posts/context-engineering-with-links/
155•mbleigh•2d ago•62 comments

Public Montessori programs strengthen learning outcomes at lower costs: study

https://phys.org/news/2025-10-national-montessori-early-outcomes-sharply.html
349•strict9•2d ago•213 comments

Code like a surgeon

https://www.geoffreylitt.com/2025/10/24/code-like-a-surgeon
235•simonw•1d ago•118 comments

The geometry of mathematical methods

https://books.physics.oregonstate.edu/GMM/book.html
61•kalind•5d ago•3 comments

Diamond Thermal Conductivity: A New Era in Chip Cooling

https://spectrum.ieee.org/diamond-thermal-conductivity
54•rbanffy•5d ago•24 comments

Luau's performance

https://luau.org/performance
64•todsacerdoti•2d ago•10 comments

Twake Drive – An open-source alternative to Google Drive

https://github.com/linagora/twake-drive
348•javatuts•1d ago•204 comments

Meet the real screen addicts: the elderly

https://www.economist.com/international/2025/10/23/meet-the-real-screen-addicts-the-elderly
265•johntfella•14h ago•288 comments

The persistence of tradition: the curious case of Henry Symeonis (2023)

https://blogs.bodleian.ox.ac.uk/archivesandmanuscripts/2023/12/13/the-persistence-of-tradition-th...
29•georgecmu•3d ago•1 comments