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
renzhc
diffusers_dcu
Commits
4c20624c
Unverified
Commit
4c20624c
authored
Jul 09, 2025
by
Sayak Paul
Committed by
GitHub
Jul 09, 2025
Browse files
[tests] annotate compilation test classes with bnb (#11715)
annotate compilation test classes with bnb
parent
0454fbb3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
tests/quantization/bnb/test_4bit.py
tests/quantization/bnb/test_4bit.py
+1
-0
tests/quantization/bnb/test_mixed_int8.py
tests/quantization/bnb/test_mixed_int8.py
+1
-0
No files found.
tests/quantization/bnb/test_4bit.py
View file @
4c20624c
...
...
@@ -872,6 +872,7 @@ class ExtendedSerializationTest(BaseBnb4BitSerializationTests):
@
require_torch_version_greater
(
"2.7.1"
)
@
require_bitsandbytes_version_greater
(
"0.45.5"
)
class
Bnb4BitCompileTests
(
QuantCompileTests
):
@
property
def
quantization_config
(
self
):
...
...
tests/quantization/bnb/test_mixed_int8.py
View file @
4c20624c
...
...
@@ -837,6 +837,7 @@ class BaseBnb8bitSerializationTests(Base8bitTests):
@
require_torch_version_greater_equal
(
"2.6.0"
)
@
require_bitsandbytes_version_greater
(
"0.45.5"
)
class
Bnb8BitCompileTests
(
QuantCompileTests
):
@
property
def
quantization_config
(
self
):
...
...
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