mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-25 01:09:22 +01:00
Lint
This commit is contained in:
parent
a47de06088
commit
8b44d7b12a
@ -147,7 +147,7 @@ def huggingface_loader(model_name):
|
|||||||
params['force_safetensors'] = True
|
params['force_safetensors'] = True
|
||||||
|
|
||||||
if shared.args.use_eager_attention:
|
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)
|
config = AutoConfig.from_pretrained(path_to_model, trust_remote_code=shared.args.trust_remote_code)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user