这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@githubnemo
Copy link
Collaborator

@githubnemo githubnemo commented Aug 4, 2025

Also fix a minor import nit where TrainableTokensWrapper was not added to utils/__init__.py. Fixed the corresponding imports as well.

Another housekeeping job is to move hub_online_once to testing_utils.py since it has grown to be used in a lot of places and testing_utils.py is the better place to keep such utilities.

Also fix a minor import nit where `TrainableTokensWrapper` was not
added to `utils/__init__.py`. Fixed the corresponding imports as well.
@githubnemo githubnemo marked this pull request as ready for review August 4, 2025 14:34
@HuggingFaceDocBuilderDev

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.

nemo added 2 commits August 4, 2025 16:48
It doesn't make sense to change the name from accesses to cache since the
former is more descriptive. Sorry for the noise.
Copy link
Member

@BenjaminBossan BenjaminBossan left a comment

Choose a reason for hiding this comment

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

Thanks for extending the usage and clean ups, LGTM and can be merged.

Just a nit: Do you want to document the potential issue with yield fixtures and hub_online_once directly in the hub_online_once docs?

@githubnemo githubnemo merged commit 44f001c into huggingface:main Aug 5, 2025
11 of 14 checks passed
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.

3 participants