Skip to content

Remove deprecated use_auth_token parameter#41666

Merged
Wauplin merged 6 commits into
mainfrom
remove-deprecated-use-auth-token
Oct 17, 2025
Merged

Remove deprecated use_auth_token parameter#41666
Wauplin merged 6 commits into
mainfrom
remove-deprecated-use-auth-token

Conversation

@Wauplin

@Wauplin Wauplin commented Oct 16, 2025

Copy link
Copy Markdown
Contributor

use_auth_token parameter has been deprecated for a very long time (2 years?) and will be completely removed from huggingface_hub in v1.0.

I think transformers v5 is a perfect timing to also remove it from this library. In practice there has been a deprecation cycle for a long time (with both token and use_auth_token being accepted) so friction should be minimal.

(cc @hanouticelina)

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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.

@Cyrilvallez Cyrilvallez left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks a lot, happy to remove!

Comment thread examples/pytorch/speech-recognition/README.md Outdated
Comment thread examples/pytorch/speech-recognition/README.md Outdated
@Wauplin Wauplin enabled auto-merge (squash) October 17, 2025 08:06
@Wauplin

Wauplin commented Oct 17, 2025

Copy link
Copy Markdown
Contributor Author

Can someone merge this one? I feel that the only failing test is not related to my PR 😃

FAILED examples/pytorch/test_pytorch_examples.py::ExamplesTests::test_run_semantic_segmentation - AssertionError: 0.0948333740234375 not greater than or equal to 0.1

(cc @ydshieh ?)

@github-actions

Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: auto, bark, clvp, qwen2_5_omni, wav2vec2

@ydshieh

ydshieh commented Oct 17, 2025

Copy link
Copy Markdown
Collaborator

@Wauplin I can't merge as the CI is red: jobs have crashing worker. Could you verify if those are caused by your PR?

@Wauplin

Wauplin commented Oct 17, 2025

Copy link
Copy Markdown
Contributor Author

Arg, the CI from yesterday's commit worked perfectly fine, except for the test I mentioned. Now that I rebased from main it seems that all tests are crashing. I suspect this is not due to my PR but that it's also failing on main. Let's not merge for now

@ydshieh

ydshieh commented Oct 17, 2025

Copy link
Copy Markdown
Collaborator

it's torchcodec issue, sorry.

I will built the new docker images and push

@Wauplin Wauplin merged commit 252d7cd into main Oct 17, 2025
23 checks passed
@Wauplin Wauplin deleted the remove-deprecated-use-auth-token branch October 17, 2025 09:57
@Wauplin Wauplin mentioned this pull request Oct 17, 2025
yonigozlan pushed a commit to yonigozlan/transformers that referenced this pull request Oct 21, 2025
* Remove deprecated use_auth_token

* code styl

* fix test

* Update examples/pytorch/speech-recognition/README.md
ngazagna-qc pushed a commit to ngazagna-qc/transformers that referenced this pull request Oct 23, 2025
* Remove deprecated use_auth_token

* code styl

* fix test

* Update examples/pytorch/speech-recognition/README.md
SangbumChoi pushed a commit to SangbumChoi/transformers that referenced this pull request Jan 23, 2026
* Remove deprecated use_auth_token

* code styl

* fix test

* Update examples/pytorch/speech-recognition/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants