Skip to content

Commit fdd24d1

Browse files
committed
try remove MpiCollectives from type annotation
1 parent 60d4c43 commit fdd24d1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

jax/_src/xla_bridge.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,7 @@ def register_backend_factory(name: str, factory: BackendFactory, *,
236236

237237

238238
def make_cpu_client() -> xla_client.Client:
239-
collectives: (xla_client._xla.CpuCollectives |
240-
xla_client._xla.MpiCollectives |
241-
None ) = None
239+
collectives: xla_client._xla.CpuCollectives | None = None
242240

243241
collectives_impl = _CPU_COLLECTIVES_IMPLEMENTATION.value
244242
if _CPU_ENABLE_GLOO_COLLECTIVES.value:

0 commit comments

Comments
 (0)