by ein0p · 2y ago · 0 comments
That said, it wouldn’t be too difficult to port most models to Jax, load in the existing weights, and export the result for serving. Should you bother? IMO, no, unless we’re talking really large scale inference. Your time and money are almost certainly better spent iterating on the models.
--> We tried such ports at https://kwatch.io (the company I work for), and it appeared to be much harder than expected (at least for us). I don't think so many people are capable of porting an LLM based on PyTorch + GPU to Jax + TPU.
So is there some advantage of TPU, assuming there was SWE/API parity between GPUs?
I'll just leave this here: https://jax.readthedocs.io/en/latest/pallas/index.html