Skip to content

Commit

Permalink
[bnb] Fix offload test (#30039)
Browse files Browse the repository at this point in the history
fix bnb test
  • Loading branch information
SunMarc authored Apr 5, 2024
1 parent 1ab7136 commit 4207a40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/quantization/bnb/test_mixed_int8.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ class BaseMixedInt8Test(unittest.TestCase):
# Expected values on a A10
EXPECTED_OUTPUTS.add("Hello my name is John.\nI am a friend of your father.\n")
MAX_NEW_TOKENS = 10
# Expected values with offload
EXPECTED_OUTPUTS.add("Hello my name is John and I am a professional photographer based in")

def setUp(self):
# Models and tokenizer
Expand Down

0 comments on commit 4207a40

Please sign in to comment.