We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b1ae60 commit 994a6d3Copy full SHA for 994a6d3
tests/test_connector.py
@@ -88,6 +88,7 @@ def test_check_cuda_with_nvidia_smi_mock_gpu(mock_subprocess):
88
],
89
)
90
def test_connector(input_accelerator, expected_accelerator, expected_devices):
91
+ check_cuda_with_nvidia_smi.cache_clear()
92
connector = _Connector(accelerator=input_accelerator)
93
assert (
94
connector.accelerator == expected_accelerator
0 commit comments