PyTorch adoption: back when Keras went hard into TensorFlow in 2018, both TF and PyTorch adoption were about the same with TF having a bit more popularity. Now, most of the papers and models released are PyTorch-first.
PyTorch adoption: back when Keras went hard into TensorFlow in 2018, both TF and PyTorch adoption were about the same with TF having a bit more popularity. Now, most of the papers and models released are PyTorch-first.
PS: sorry I'm a bit salty by my user experience of Keras.
My understand of Triton is more that this is an alternative to CUDA, but instead you write it directly in Python, and on a slightly higher-level, and it does a lot of optimizations automatically. So basically: Python -> Triton-IR -> LLVM-IR -> PTX.
I assume most people will still research in PyTorch, but then move it over the Keras for production models if they need multi-platform support.
https://pytorch.org/docs/stable/generated/torch.nn.Sequentia...
The point about the better API overall still stands (notably including the actual training part, as base PyTorch requires you to implement your own loop)
But if you don't want that, if you want to go a bit higher level w.r.t. training, there is e.g. PyTorch Lightning on top of PyTorch.
If you say the API is better in Keras, can you give any examples? They look kind of similar to me. Keras looks a bit more complicated, esp when looking at the internals (which I tend to do often, to better understand what's actually happening), which is a negative point.
Keras has always been "lipstick on a pig for tensorflow". Its value beyond that seems tenuous at best.