This commit is contained in:
oobabooga 2024-07-04 20:16:44 -07:00
parent a47de06088
commit 8b44d7b12a
2 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ def huggingface_loader(model_name):
params['force_safetensors'] = True
if shared.args.use_eager_attention:
params['attn_implementation'] = 'eager'
params['attn_implementation'] = 'eager'
config = AutoConfig.from_pretrained(path_to_model, trust_remote_code=shared.args.trust_remote_code)