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
chenpangpang
transformers
Commits
b84cd675
"backend/apps/vscode:/vscode.git/clone" did not exist on "0cdcc2deb6d81ce9b4efbc97a67891624c0e8b34"
Unverified
Commit
b84cd675
authored
May 27, 2024
by
Marc Sun
Committed by
GitHub
May 27, 2024
Browse files
Fix quanto tests (#31062)
fix quanto tests
parent
cd797778
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/quantization/quanto_integration/test_quanto.py
tests/quantization/quanto_integration/test_quanto.py
+3
-3
No files found.
tests/quantization/quanto_integration/test_quanto.py
View file @
b84cd675
...
...
@@ -413,18 +413,18 @@ class QuantoQuantizationSerializationCudaTest(QuantoQuantizationTest):
class
QuantoQuantizationQBitsTensorTest
(
QuantoQuantizationTest
):
EXPECTED_OUTPUTS
=
"Hello my name is
John
, I am a
young man from the Philippines
"
EXPECTED_OUTPUTS
=
"Hello my name is
Nils
, I am a
student of the University
"
weights
=
"int4"
class
QuantoQuantizationQBitsTensorOffloadTest
(
QuantoQuantizationOffloadTest
):
EXPECTED_OUTPUTS
=
"Hello my name is
John
, I am a
young man from the Philippines
"
EXPECTED_OUTPUTS
=
"Hello my name is
Nils
, I am a
student of the University
"
weights
=
"int4"
@
unittest
.
skip
(
"Skipping test class because serialization is not supported yet"
)
class
QuantoQuantizationQBitsTensorSerializationTest
(
QuantoQuantizationSerializationTest
):
EXPECTED_OUTPUTS
=
"Hello my name is
John
, I am a
young man from the Philippines
"
EXPECTED_OUTPUTS
=
"Hello my name is
Nils
, I am a
student of the University
"
weights
=
"int4"
...
...
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