line break

This commit is contained in:
cdawg 2023-07-19 17:50:46 +02:00 committed by GitHub
parent d6649411c4
commit 2b3f65048d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -864,7 +864,8 @@ def quantize(
) )
with init_empty_weights(): 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() model = model.eval()
print("LOADED model") print("LOADED model")