Skip to content

Commit

Permalink
Bitnet test fix to avoid using gated model (#34863)
Browse files Browse the repository at this point in the history
small test fix
  • Loading branch information
MekkCyber authored Nov 22, 2024
1 parent 286ffaa commit 54be2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/quantization/bitnet_integration/test_bitnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def setUpClass(cls):
"""
Load the model
"""
cls.tokenizer = AutoTokenizer.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct")
cls.tokenizer = AutoTokenizer.from_pretrained(cls.model_name)
cls.quantized_model = AutoModelForCausalLM.from_pretrained(cls.model_name, device_map=cls.device)

def tearDown(self):
Expand Down

0 comments on commit 54be2d7

Please sign in to comment.