Skip to content

Commit 26fe1f1

Browse files
committed
skip fsdp2 test
1 parent 8fd16a6 commit 26fe1f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: test/prototype/test_low_bit_optim.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,10 @@ def world_size(self) -> int:
386386
not TORCH_VERSION_AT_LEAST_2_5, reason="PyTorch>=2.5 is required."
387387
)
388388
@skip_if_lt_x_gpu(_FSDP_WORLD_SIZE)
389-
@skip_if_rocm("ROCm enablement in progress")
390389
def test_fsdp2(self):
390+
if torch.version.hip is not None:
391+
pytest.skip("ROCm enablement in progress")
392+
391393
optim_classes = [low_bit_optim.AdamW8bit, low_bit_optim.AdamW4bit]
392394
if torch.cuda.get_device_capability() >= (8, 9):
393395
optim_classes.append(low_bit_optim.AdamWFp8)

0 commit comments

Comments
 (0)