Update seq2seq_lm.py
This commit is contained in:
parent
780198b9e4
commit
64accc59f1
|
@ -524,7 +524,7 @@ class Seq2SeqLM(Model):
|
|||
device_map="auto"
|
||||
if torch.cuda.is_available() and torch.cuda.device_count() > 1
|
||||
else None,
|
||||
load_in_8bit=quantize == "bitsandbytes",
|
||||
load_in_4bit=quantize == "bitsandbytes",
|
||||
trust_remote_code=trust_remote_code,
|
||||
)
|
||||
if torch.cuda.is_available() and torch.cuda.device_count() == 1:
|
||||
|
|
Loading…
Reference in New Issue