Skip to content

[configuration] remove redundant classmethod #38812

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zucchini-nlp
Copy link
Member

What does this PR do?

As per title, another tiny clean up that deletes a from_text_vision_configs for initializing configs from its sub-configs. That can perfectly be done by cls.__init__ and this no need to maintain a separate method for that

I added a warning with a deprecation cycle of 7 minor releases, to give users time to adjust in case anyone was using it

@zucchini-nlp
Copy link
Member Author

cc @Rocketknight1 if you have time to review

@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.

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.

2 participants