Merge pull request #450 from AlexanderLavelle/patch-1

quantized models don't have .to
pull/434/head
Eternal Reclaimer 9 months ago committed by GitHub
commit 2905900751
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -181,7 +181,7 @@ class HuggingfaceLLM(AbstractLLM):
quantization_config=bnb_config,
*args,
**kwargs,
).to(self.device)
)
else:
self.model = AutoModelForCausalLM.from_pretrained(
self.model_id, *args, **kwargs

Loading…
Cancel
Save