Skip to content

Commit

Permalink
Add skips for missing inductor or bf16 support
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanYashchuk committed Aug 15, 2024
1 parent aac7dc2 commit 76f57f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions thunder/tests/test_torch_compile_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ def test_torch_compile_cat_nvfuser_phi2_tanh():
logits.sum().backward()


@pytest.mark.skipif(not is_inductor_supported(), reason="inductor unsupported")
@requiresCUDA
@pytest.mark.skipif(not device_supports_bf16(torch.device("cuda")), reason="bf16 is not supported")
def test_torch_compile_cat_rope_single_fusion():
from thunder.benchmarks import LlamaQKVSplitRopeBenchmark
from thunder.examine import get_fusions
Expand Down

0 comments on commit 76f57f9

Please sign in to comment.