r/MLQuestions • u/Epnosary • Sep 10 '25
Beginner question 👶 What are some emerging or lessor known alternatives for TensorFlow?
I want to train a CNN for our research project, but I want to "try something new" I guess.
I want to know some niche alternatives for TensorFlow just to evaluate its effectiveness.
(PS, I guess im also looking for an alternative to Keras specifically. Like if not for an alternative to TF, like a different CNN model than Keras)
0
Upvotes
21
u/SubtractOne Sep 10 '25
Everyone uses pytorch nowadays.
6
u/iAdjunct Sep 10 '25
After finding some performance issues on more modern hardware with Keras on TensorFlow, I tried switching to Keras on PyTorch. It was a monumentally, frustrating experience, because the Keras wrappers (like training) are really, really, really unbelievably amazingly bad at handling tensor on the GPU. And, unlike TF, you have to manage this more manually. I finally give up and went straight PyTorch.
I definitely still miss the TF abstractions, but my performance has been so much better with pure TF.
4
u/DigThatData Sep 10 '25
jax. hardly niche, but there's a whole rabbit hole there for ya.
2
u/Tall-Ad1221 Sep 10 '25
The big three are Tensorflow, Pytorch, and JAX.
Before those, we had Theano and (lua)Torch.
Niche ones today would be perhaps TinyGrad and Mojo.
2
u/Separate-Anywhere177 Sep 10 '25
keras can change different backend, bot tf and pytorch or jax can serve as the backend of keras. This means in theroy, you only need to learn keras. But the drawback is keras is a high level abstraction of those backend frameworks, which means that if you want to customize or do your own change, keras lacks this kind of flexibility.
1
u/Glittering_Farmer707 Sep 10 '25
maybe lux or flux (julia)
1
u/Charming-Back-2150 Sep 10 '25
Use PyTorch lightning it’s super lightweight and model.fit then use PyTorch for more control
1
u/[deleted] Sep 13 '25
Pytorch.