Closed IlyasMoutawwakil closed 3 months ago
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
I tried to add warning at the beginning of every function/method that used to accept use_auth_token
, then only pass token
wich occasionally gets assigned use_auth_token
's value. This works with transformers
and hugingface_hub
functions/methods but not diffusers (some still take use_auth_token
only which I commented in loaders
)
i added a test (that passes) but some cases still fail, like loading+exporting from a private repo, but it's an issue from optimum side.
What does this PR do?
This PR deprecates
use_auth_token
in favor oftoken
Fixes # (issue)
Before submitting