We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef665e9 commit ce4f052Copy full SHA for ce4f052
test/spmd/test_xla_sharding.py
@@ -464,6 +464,9 @@ def test_hybrid_mesh_shape(self):
464
self.assertEqual(mesh.get_logical_mesh().shape,
465
hybrid_mesh.get_logical_mesh().shape)
466
467
+ @unittest.skipUnless(
468
+ xm.get_xla_supported_devices("TPU"),
469
+ f"Requires PJRT_DEVICE set to `TPU`.")
470
@patch('torch_xla.runtime.global_device_attributes')
471
def test_hybrid_mesh(self, device_attributes_mock):
472
# mock device attributes for 2 slices of v4-8
0 commit comments