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