mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Minor fix
This commit is contained in:
parent
6b7f7555fc
commit
1b87844928
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user