mirror of
https://github.com/ROCm/jax.git
synced 2025-04-16 11:56:07 +00:00
Update the non-contiguous error message to not say GDA anymore
PiperOrigin-RevId: 501396344
This commit is contained in:
parent
acd8dadc74
commit
68c43e6c99
@ -229,7 +229,7 @@ def create_device_mesh(
|
||||
jax.devices().
|
||||
contiguous_submeshes: if True, this function will attempt to create a mesh
|
||||
where each process's local devices form a contiguous submesh. This is
|
||||
required when passing non-GlobalDeviceArrays to `pjit` (see the
|
||||
required when passing host local inputs to `pjit` (see the
|
||||
"Multi-process platforms" note of the [pjit
|
||||
documentation](https://jax.readthedocs.io/en/latest/jax.experimental.pjit.html)
|
||||
for more information on this constraint). A ValueError will be raised if
|
||||
|
@ -2446,7 +2446,7 @@ class Mesh(ContextDecorator):
|
||||
# subcube that hull will contain non-local devices.
|
||||
if not is_local_device[subcube_indices].all():
|
||||
raise ValueError(
|
||||
"When passing non-GlobalDeviceArray inputs to pjit or xmap, devices "
|
||||
"When passing host local inputs to pjit or xmap, devices "
|
||||
"connected to a single host must form a contiguous subcube of the "
|
||||
"global device mesh")
|
||||
return Mesh(self.devices[subcube_indices], self.axis_names)
|
||||
|
Loading…
x
Reference in New Issue
Block a user