Skip to content

Commit 7ac5b09

Browse files
committed
remove mistakenly added assert
1 parent 95be731 commit 7ac5b09

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/spmd/test_xla_sharding.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,10 +1189,6 @@ def test_mark_shard_scalar(self):
11891189
self.assertIsInstance(shard.indices, type(Ellipsis))
11901190
self.assertEqual(shard.replica_id, i)
11911191

1192-
# It looks like mesh_shape attribute is never implemented.
1193-
with self.assertRaises(AttributeError):
1194-
xt.mesh_shape
1195-
11961192
def test_global_mesh(self):
11971193
expected_mesh = self._get_mesh((1, self.n_devices))
11981194
xs.set_global_mesh(expected_mesh)

0 commit comments

Comments
 (0)