Skip to content

Commit

Permalink
remove assertion that GPU acceleration is disabled in CPU tests
Browse files Browse the repository at this point in the history
  • Loading branch information
motjuste authored Dec 2, 2024
1 parent 2a10edc commit dd0784b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration/test_dss.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def test_status_before_initialize(
assert "MLflow deployment: Not ready" in result.stdout

if is_cpu_or_gpu == "cpu":
# Check if the output indicates GPU acceleration is disabled
assert "GPU acceleration: Disabled" in result.stdout
# we don't care if gpu acceleration is enabled or not
pass
elif is_cpu_or_gpu == "gpu":
# Check if the output indicates GPU acceleration is enabled and captures a GPU model
assert "GPU acceleration: Enabled" in result.stdout
Expand Down Expand Up @@ -226,8 +226,8 @@ def test_status_after_initialize(is_cpu_or_gpu, cleanup_after_initialize) -> Non
assert "MLflow URL: http://" in result.stdout

if is_cpu_or_gpu == "cpu":
# Check if the output indicates GPU acceleration is disabled
assert "GPU acceleration: Disabled" in result.stdout
# we don't care if gpu acceleration is enabled or not
pass
elif is_cpu_or_gpu == "gpu":
# Check if the output indicates GPU acceleration is enabled and captures a GPU model
assert "GPU acceleration: Enabled" in result.stdout
Expand Down

0 comments on commit dd0784b

Please sign in to comment.