mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-21 14:52:20 +00:00
Update santacoder.py
This commit is contained in:
parent
377c01e21e
commit
780198b9e4
@ -56,7 +56,7 @@ class SantaCoder(CausalLM):
|
||||
model_id,
|
||||
revision=revision,
|
||||
torch_dtype=dtype,
|
||||
load_in_8bit=quantize == "bitsandbytes",
|
||||
load_in_4bit=quantize == "bitsandbytes",
|
||||
trust_remote_code=trust_remote_code,
|
||||
).to(device)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user