mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
[bnb
] Let's make the daily CI green 🍏 (#21597)
* fix bnb slow test * make fixup
This commit is contained in:
parent
24273268b7
commit
1666c42f0b
@ -92,7 +92,9 @@ class MixedInt8Test(BaseMixedInt8Test):
|
||||
super().setUp()
|
||||
|
||||
# Models and tokenizer
|
||||
self.model_fp16 = AutoModelForCausalLM.from_pretrained(self.model_name, torch_dtype="auto", device_map="auto")
|
||||
self.model_fp16 = AutoModelForCausalLM.from_pretrained(
|
||||
self.model_name, torch_dtype=torch.float16, device_map="auto"
|
||||
)
|
||||
self.model_8bit = AutoModelForCausalLM.from_pretrained(self.model_name, load_in_8bit=True, device_map="auto")
|
||||
|
||||
def tearDown(self):
|
||||
|
Loading…
Reference in New Issue
Block a user