Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
bitsandbytes
Commits
df73d3e1
Unverified
Commit
df73d3e1
authored
Jun 11, 2025
by
Egor
Committed by
GitHub
Jun 11, 2025
Browse files
Fixed a bug in test_fw_bit_quant (#1675)
parent
a23026c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_functional.py
tests/test_functional.py
+1
-1
No files found.
tests/test_functional.py
View file @
df73d3e1
...
...
@@ -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
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment