News for hackers. Stuff that matters.
Re:Training great LLMs from ground zero by axpy906 on Wednesday March 06, 2024 @04:42PM (#39621957)
If you’re doing research JAX makes some sense. Probably some Google bias in there too.
Re:Training great LLMs from ground zero by lyapunova on Wednesday March 06, 2024 @05:34PM (#39622645)
To be honest, most researchers in applied ML in the bay say the opposite. If you are trying to be nimble and prototype, use pytorch. If you're trying to gain some optimizations as you near deployment, rewrite in Jax.
Re:Training great LLMs from ground zero by axpy906 on Wednesday March 06, 2024 @07:44PM (#39623729)
Interesting. I’ve never heard that. I could see that argument going both ways as PyTorch has the larger ecosystem and is published the most.
Re:Training great LLMs from ground zero by plumeria on Wednesday March 06, 2024 @07:14PM (#39623510)
Where does Tensorflow stand in this?
Re:Training great LLMs from ground zero by rockinghigh on Wednesday March 06, 2024 @08:32PM (#39624076)
Tensorflow has been falling behind since they stopped caring about backward compatibility. PyTorch is the leading framework. Jax is getting some traction at Google and was used to train Gemini.
Re:Training great LLMs from ground zero by axpy906 on Wednesday March 06, 2024 @07:40PM (#39623694)
Somewhere next to Theano, Mxnet or Caffe.
Re:Training great LLMs from ground zero by plumeria on Wednesday March 06, 2024 @08:17PM (#39623967)
So, obsolete?
Re:Training great LLMs from ground zero by omneity on Wednesday March 06, 2024 @09:09PM (#39624318)
What about Keras?
Re:Training great LLMs from ground zero by pama on Thursday March 07, 2024 @01:33AM (#39625709)
Interesting perspective about possible Jax optimizations. Assuming these models are trained and deployed on non-TPU hardware, are there any real advantages in using Jax for deployment on GPU? I’d have assumed that inference is largely a solved optimization for large transformer based models (with any low hanging fruits from custom CUDA code already written) and the details are shifting towards infrastructure tradeoffs and availability of efficient GPUs. But I may be out of the loop with the latest gossip. Or do you simply mean that maybe there exist cases where TPU inference makes sense financially and using jax makes a difference?