Minor fix

This commit is contained in:
oobabooga 2024-04-05 18:43:43 -07:00
parent 6b7f7555fc
commit 1b87844928

View file

@ -137,7 +137,7 @@ def huggingface_loader(model_name):
params['use_flash_attention_2'] = True
if shared.args.force_safetensors:
params['max_memory'] = True
params['force_safetensors'] = True
config = AutoConfig.from_pretrained(path_to_model, trust_remote_code=shared.args.trust_remote_code)