"vscode:/vscode.git/clone" did not exist on "2200bf7a45782d42bda73a042606a1abe454a62a"
Unverified Commit edb28722 authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Pass the proper token to PEFT integration in auto classes (#25649)

parent 88e51ba3
......@@ -475,10 +475,7 @@ class _BaseAutoModelClass:
subfolder = kwargs.get("subfolder", None)
maybe_adapter_path = find_adapter_config_file(
pretrained_model_name_or_path,
revision=revision,
token=use_auth_token,
subfolder=subfolder,
pretrained_model_name_or_path, revision=revision, token=token, subfolder=subfolder
)
if maybe_adapter_path is not None:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment