mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 20:04:52 +00:00
line break
This commit is contained in:
parent
d6649411c4
commit
2b3f65048d
@ -864,7 +864,8 @@ def quantize(
|
||||
)
|
||||
|
||||
with init_empty_weights():
|
||||
model = AutoModelForCausalLM.from_config(config, torch_dtype=torch.float16,trust_remote_code=trust_remote_code)
|
||||
model = AutoModelForCausalLM.from_config(config, torch_dtype=torch.float16,
|
||||
trust_remote_code=trust_remote_code)
|
||||
model = model.eval()
|
||||
|
||||
print("LOADED model")
|
||||
|
Loading…
Reference in New Issue
Block a user