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 tests/unit_tests/transformer/test_vision_cuda_graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ def test_get_sample_arguments_empty_when_no_callables(self):
assert sample_kwargs_list == []

# -- create_cudagraphs / delete_cuda_graphs lifecycle --
@pytest.mark.flaky
@pytest.mark.flaky_in_dev
@pytest.mark.skipif(
not (HAVE_TE_GRAPHS and is_te_min_version("2.7.0")),
Expand Down Expand Up @@ -382,6 +383,7 @@ def test_create_and_delete_cudagraphs(self):
not (HAVE_TE_GRAPHS and is_te_min_version("2.7.0")),
reason="TE CUDA graph capture requires TransformerEngine >= 2.7.0",
)
@pytest.mark.flaky
@pytest.mark.flaky_in_dev
def test_create_cudagraphs_multi_microbatch(self):
"""Verify that graphs are created per-microbatch per-layer."""
Expand Down Expand Up @@ -572,6 +574,7 @@ def test_pp2_num_microbatches_preserved(self):
not (HAVE_TE_GRAPHS and is_te_min_version("2.7.0")),
reason="TE CUDA graph capture requires TransformerEngine >= 2.7.0",
)
@pytest.mark.flaky
@pytest.mark.flaky_in_dev
def test_pp2_create_cudagraphs_first_stage(self):
"""On stage 0, CUDA graphs should be captured with the full pipeline order."""
Expand Down
Loading