Skip to content

Commit 0b06782

Browse files
committed
FSDPBucketingStrategy.LAYER
1 parent 475f29e commit 0b06782

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

thunder/tests/distributed/test_ddp.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,13 +665,15 @@ def test_ddp_grad_parity_with_without_bucketing(self, executor):
665665
f"executor_{executor}_bucketing_{str(bucketing_strategy).split('.')[1].lower()}_{(str(fsdptype).lower().split('.')[1])}"
666666
),
667667
)
668-
@pytest.mark.xfail(reason="Investigation needed") # todo/fixme
669668
def test_fsdp_grad_parity_with_without_bucketing(
670669
self,
671670
executor,
672671
bucketing_strategy: FSDPBucketingStrategy,
673672
fsdptype: FSDPType,
674673
):
674+
if bucketing_strategy == FSDPBucketingStrategy.LAYER:
675+
pytest.xfail(reason="Investigation needed") # todo/fixme
676+
675677
from thunder.distributed import fsdp
676678

677679
device = torch.device("cuda", self.rank)

0 commit comments

Comments
 (0)