jax
715e7670 - Support DeviceList in DeviceAssignment.create.

Commit
15 days ago
Support DeviceList in DeviceAssignment.create. Add a DeviceAssignment.create(device_list, num_replicas, num_partitions) overload (jaxlib extension version 526) that populates device IDs from the underlying IFRT DeviceList with the GIL released, and use it in compiler.get_compile_options instead of iterating devices in Python with np.fromiter. PiperOrigin-RevId: 1026102005
Parents
Loading