Skip to content

avoid library_name guessing if it is known in parameters standartization#2179

Merged
echarlaix merged 2 commits into
huggingface:mainfrom
eaidova:ea/avoid_lib_guessing_in_standartize_args
Feb 12, 2025
Merged

avoid library_name guessing if it is known in parameters standartization#2179
echarlaix merged 2 commits into
huggingface:mainfrom
eaidova:ea/avoid_lib_guessing_in_standartize_args

Conversation

@eaidova

@eaidova eaidova commented Feb 4, 2025

Copy link
Copy Markdown
Contributor

What does this PR do?

in case if library_name detection has additional logic on optimum-integration path and not defined inside standard task manager approach to find library (e.g. open_clip integration), parameters standardization may fail as the library will not be detected properly.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

Who can review?

@eaidova

eaidova commented Feb 4, 2025

Copy link
Copy Markdown
Contributor Author

@echarlaix @IlyasMoutawwakil could you please take a look?

Comment thread optimum/subpackages.py Outdated
@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.

@eaidova

eaidova commented Feb 5, 2025

Copy link
Copy Markdown
Contributor Author

@IlyasMoutawwakil @echarlaix could you please merge? Failed tests are not related (it looks like temporal connection to server issues)

@echarlaix
echarlaix merged commit 512d5c6 into huggingface:main Feb 12, 2025
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