Details of using TPU slices from Jax can be found on this page:
There is some introspection on available devices in the Jax API:
If you are going multi-slice, you could consider using Google's Pax (aka PaxML) library as it is built for this: