Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC, Logging] Change warning to info #26545

Merged
merged 1 commit into from
Oct 3, 2023
Merged

Conversation

patrickvonplaten
Copy link
Contributor

@patrickvonplaten patrickvonplaten commented Oct 2, 2023

What does this PR do?

Change warning to info when adding a new text embedding. The reason is that this warning is trigger every time someone runs:

which confuses users: huggingface/diffusers#5212 .

I don't think we should use pad_to_multiple here as it would mean that we add 8 new tokens every time we call load_textual_inversion

@patrickvonplaten patrickvonplaten changed the title [Logging] Change warning to info [RFC, Logging] Change warning to info Oct 2, 2023
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Oct 2, 2023

The documentation is not available anymore as the PR was closed or merged.

@LysandreJik LysandreJik merged commit df6a855 into main Oct 3, 2023
3 checks passed
@LysandreJik LysandreJik deleted the move_warning_to_info branch October 3, 2023 06:55
blbadger pushed a commit to blbadger/transformers that referenced this pull request Nov 8, 2023
EduardoPach pushed a commit to EduardoPach/transformers that referenced this pull request Nov 18, 2023
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