Unverified Commit df73d3e1 authored by Egor's avatar Egor Committed by GitHub
Browse files

Fixed a bug in test_fw_bit_quant (#1675)

parent a23026c8
......@@ -172,7 +172,7 @@ class Test8BitBlockwiseQuantizeFunctional:
@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 = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment