diff --git a/server/text_generation_server/models/causal_lm.py b/server/text_generation_server/models/causal_lm.py index cbdf48083..a58f912f5 100644 --- a/server/text_generation_server/models/causal_lm.py +++ b/server/text_generation_server/models/causal_lm.py @@ -481,7 +481,7 @@ class CausalLM(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: