Fixed a bug in test_fw_bit_quant testing on CPU by Egor-Krivov · Pull Request #1675 · bitsandbytes-foundation/bitsandbytes

Expand Up @@ -172,7 +172,7 @@ def test_blockwise_cpu_large(self, hidden, blocksize): @pytest.mark.parametrize("bits", range(2, 9), ids=id_formatter("bits")) @pytest.mark.parametrize("method", ["linear", "fp8", "dynamic"]) def test_few_bit_quant(self, device, bits, method): if device in ("cpu", "xpu") and bits != 8 and (F.ipex_cpu or F.ipex_xpu): if bits != 8 and (device == "cpu" or (device == "xpu" and F.ipex_xpu)): pytest.skip("CPU/XPU implementation only supports 8 bits")
abserrs = [] Expand Down