File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests_fabric/plugins/precision
tests_pytorch/plugins/precision Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2929
3030
3131@pytest .mark .skipif (_BITSANDBYTES_AVAILABLE , reason = "bitsandbytes needs to be unavailable" )
32- @pytest .mark .skipif (platform .system () == "Darwin" ) # skip on Mac as Bitsandbytes is only supported on CUDA GPUs
32+ @pytest .mark .skipif (platform .system () == "Darwin" , reason = " Bitsandbytes is only supported on CUDA GPUs" ) # skip on Mac
3333def test_bitsandbytes_plugin (monkeypatch ):
3434 module = lightning .fabric .plugins .precision .bitsandbytes
3535 monkeypatch .setattr (module , "_BITSANDBYTES_AVAILABLE" , lambda : True )
Original file line number Diff line number Diff line change 2626
2727
2828@pytest .mark .skipif (_BITSANDBYTES_AVAILABLE , reason = "bitsandbytes needs to be unavailable" )
29- @pytest .mark .skipif (platform .system () == "Darwin" ) # skip on Mac as Bitsandbytes is only supported on CUDA GPUs
29+ @pytest .mark .skipif (platform .system () == "Darwin" , reason = " Bitsandbytes is only supported on CUDA GPUs" ) # skip on Mac
3030def test_bitsandbytes_plugin (monkeypatch ):
3131 module = lightning .fabric .plugins .precision .bitsandbytes
3232 monkeypatch .setattr (module , "_BITSANDBYTES_AVAILABLE" , lambda : True )
You can’t perform that action at this time.
0 commit comments