Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistecolle committed Oct 14, 2024
1 parent f61ed47 commit ebdc70a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,15 @@ def test_cuda_vllm_configs(config_name):
def test_cuda_pytorch_scripts(script_name):
execute_python_script(script_name)


ROCM_PYTORCH_CONFIGS = [config for config in CUDA_PYTORCH_CONFIGS if config != "energy_star.yaml"]


@pytest.mark.parametrize("config_name", ROCM_PYTORCH_CONFIGS)
def test_rocm_pytorch_configs(config_name):
test_yaml_config(config_name)


@pytest.mark.parametrize("script_name", CUDA_PYTORCH_SCRIPTS)
def test_rocm_pytorch_scripts(script_name):
execute_python_script(script_name)

0 comments on commit ebdc70a

Please sign in to comment.