Skip to content

Commit eb38990

Browse files
authored
Skipped unit tests in test_fsdp_sharded_grad_scaler.py
1 parent 2f7c771 commit eb38990

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/distributed/fsdp/test_fsdp_sharded_grad_scaler.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
run_tests,
3737
TEST_WITH_DEV_DBG_ASAN,
3838
TestCase,
39+
NAVI_ARCH,
40+
skipIfRocmArch,
3941
)
4042

4143

@@ -236,6 +238,7 @@ def _build_model_and_optim(
236238
return model, optim, ref_model, ref_optim
237239

238240
@skip_if_lt_x_gpu(2)
241+
@skipIfRocmArch(NAVI_ARCH)
239242
def test_sharded_grad_scaler_found_inf(self):
240243
self.run_subtests(
241244
{

0 commit comments

Comments
 (0)