Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions test/distributed/tensor/parallel/test_tp_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
RowwiseParallel,
)
from torch.distributed.tensor.parallel.input_reshard import input_reshard
from torch.testing._internal.common_cuda import PLATFORM_SUPPORTS_FUSED_ATTENTION
from torch.testing._internal.common_device_type import skipIf
from torch.testing._internal.common_utils import (
instantiate_parametrized_tests,
parametrize,
Expand Down Expand Up @@ -412,6 +414,7 @@ def test_transformer_training(self, is_seq_parallel, dtype: torch.dtype):
+ f"{str(dtype).split('.')[-1]}_"
+ f"thaw_{'__'.join(sorted({n.rpartition('.')[0].replace('.', '_') for n in thaw})) if thaw else 'all'}",
)
@skipIf(not PLATFORM_SUPPORTS_FUSED_ATTENTION, "Does not support fused scaled dot product attention")
def test_transformer_req_grad(self, thaw_params, is_seq_parallel, dtype, exp_cnts):
# Sample a subset of `requires_grad` patterns

Expand Down