We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
client
backend
1 parent 8699f5d commit b259fdeCopy full SHA for b259fde
jax/experimental/colocated_python/api.py
@@ -32,7 +32,7 @@ def colocated_cpu_devices(
32
raise NotImplementedError("Requires xla_extension_version >= 290")
33
34
cpu_devices_by_colocation_id = collections.defaultdict(list)
35
- for device in devices[0].backend._get_all_devices(): # pylint: disable=protected-access
+ for device in devices[0].client._get_all_devices(): # pylint: disable=protected-access
36
if device.device_kind == "cpu":
37
cpu_devices_by_colocation_id[device.colocation_id].append(device)
38
if not cpu_devices_by_colocation_id:
0 commit comments