diff --git a/server/text_generation_server/models/rw.py b/server/text_generation_server/models/rw.py index 92bb135b..5aa6921f 100644 --- a/server/text_generation_server/models/rw.py +++ b/server/text_generation_server/models/rw.py @@ -39,7 +39,7 @@ class RW(CausalLM): 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: