Skip to content

Commit 56238ab

Browse files
Fix tests
Signed-off-by: Thara Palanivel <[email protected]>
1 parent d945924 commit 56238ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_run_quant.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
)
5555

5656

57+
@pytest.mark.skipif(
58+
not torch.cuda.is_available(), reason="Only runs if GPUs are available"
59+
)
5760
def test_run_train_requires_output_dir():
5861
"""Check fails when output dir not provided."""
5962
updated_output_dir_opt_args = copy.deepcopy(OPT_ARGS)

0 commit comments

Comments
 (0)