diff --git a/server/text_generation_server/models/seq2seq_lm.py b/server/text_generation_server/models/seq2seq_lm.py index 9e5c21d1..1dac3f95 100644 --- a/server/text_generation_server/models/seq2seq_lm.py +++ b/server/text_generation_server/models/seq2seq_lm.py @@ -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: