-
Couldn't load subscription status.
- Fork 560
Description
🚀 Feature
When users install torch_xla, they would get torchax as well.
Motivation
The xb.call_jax 1 feature under heavy development uses torchax and we expect torchax usage to grow. In order for all users of torch_xla to use this feature, we need to include torchax in torch_xla wheels/dockers/etc.
Pitch
I think there are two approaches:
-
Make
torchaxits own Python wheel/package, and havetorch_xladepend on it always. -
Literally link all
torchaxfiles inside thetorch_xlawheel/package. This approach might need to deal with some packaging subtleties because some users may have already installedtorchaxstandalone and not sure what will happen when they also installtorch_xlawith its owntorchax.
Either way, this probably requires some setup.py changes.
cc @qihqi