Skip to content

Commit 5a61b1d

Browse files
committed
Update test_mark_shard_scalar to reflect mesh_shape implementation
1 parent 91714d4 commit 5a61b1d

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
@@ -1162,10 +1162,6 @@ def test_mark_shard_scalar(self):
11621162
self.assertIsInstance(shard.indices, type(Ellipsis))
11631163
self.assertEqual(shard.replica_id, i)
11641164

1165-
# It looks like mesh_shape attribute is never implemented.
1166-
with self.assertRaises(AttributeError):
1167-
xt.mesh_shape
1168-
11691165
def test_global_mesh(self):
11701166
expected_mesh = self._get_mesh((1, self.n_devices))
11711167
xs.set_global_mesh(expected_mesh)

0 commit comments

Comments
 (0)