Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/ann_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ def test_autodiff(self, shape, dtype, k, is_max_k):
)
def test_pmap(self, qy_shape, db_shape, dtype, k, recall):
num_devices = jax.device_count()
# TODO(araganes): Re-enable once upstream HloShardingV3 lands (JAX 0.9.2+).
# New pmap's SPMD tiling can't convert back to 1D pmap mesh on ROCm.
if jtu.is_device_rocm():
self.skipTest("IndivisibleError - SPMD tiling incompatible with 1D pmap mesh on ROCm")
rng = jtu.rand_default(self.rng())
qy = rng(qy_shape, dtype)
db = rng(db_shape, dtype)
Expand Down