Skip to content

Commit

Permalink
Fix quanto tests (#31062)
Browse files Browse the repository at this point in the history
fix quanto tests
  • Loading branch information
SunMarc authored May 27, 2024
1 parent cd79777 commit b84cd67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/quantization/quanto_integration/test_quanto.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"


Expand Down

0 comments on commit b84cd67

Please sign in to comment.