Skip to content

Commit

Permalink
Add guard for cuda-python in new test.
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Galvez <dgalvez@nvidia.com>
  • Loading branch information
galv committed Feb 23, 2024
1 parent 87d07b8 commit e099042
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ def test_cuda_graph_rnnt_greedy_decoder(model_name, batch_size, enable_bfloat16)


def test_change_devices():
skip_cuda_python_test_if_cuda_graphs_conditional_nodes_not_supported()

if torch.cuda.device_count() < 2:
pytest.skip("Test requires more than 2 GPUs")

Expand Down

0 comments on commit e099042

Please sign in to comment.