Skip to content

Commit 3ba976a

Browse files
Format
1 parent 2ea824f commit 3ba976a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

tests/test_linear4bit.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,9 @@ def test_params4bit_real_serialization(device, quant_type, blocksize, compress_s
321321
@pytest.mark.parametrize("fullgraph", TRUE_FALSE, ids=id_formatter("fullgraph"))
322322
@pytest.mark.parametrize("mode", ["default", "reduce-overhead"], ids=id_formatter("mode"))
323323
@pytest.mark.skipif(torch.__version__ < (2, 4), reason="Not supported in torch < 2.4")
324-
@pytest.mark.skipif(torch.__version__ < (2, 10) and sys.version_info >= (3, 14), reason="Not supported in Python 3.14 until torch 2.10")
324+
@pytest.mark.skipif(
325+
torch.__version__ < (2, 10) and sys.version_info >= (3, 14), reason="Not supported in Python 3.14 until torch 2.10"
326+
)
325327
def test_linear4bit_torch_compile(device, quant_type, compute_dtype, compress_statistics, bias, fullgraph, mode):
326328
if device == "hpu" and not is_supported_on_hpu(quant_type):
327329
pytest.skip("This configuration is not supported on HPU.")

tests/test_linear8bitlt.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,9 @@ def test_linear8bit_serialization(linear8bit):
235235
@pytest.mark.parametrize("fullgraph", TRUE_FALSE, ids=id_formatter("fullgraph"))
236236
@pytest.mark.parametrize("mode", ["default", "reduce-overhead"], ids=id_formatter("mode"))
237237
@pytest.mark.skipif(torch.__version__ < (2, 4), reason="Not supported in torch < 2.4")
238-
@pytest.mark.skipif(torch.__version__ < (2, 10) and sys.version_info >= (3, 14), reason="Not supported in Python 3.14 until torch 2.10")
238+
@pytest.mark.skipif(
239+
torch.__version__ < (2, 10) and sys.version_info >= (3, 14), reason="Not supported in Python 3.14 until torch 2.10"
240+
)
239241
@pytest.mark.skipif(ROCM_WARP_SIZE_64, reason="this test is not supported on ROCm yet")
240242
def test_linear8bitlt_torch_compile(device, threshold, bias, fullgraph, mode):
241243
if device == "cuda" and platform.system() == "Windows":

0 commit comments

Comments
 (0)