Skip to content

Fix KeyError for optimum.quanto in _is_package_available#1

Merged
somdipto merged 1 commit intomainfrom
fix/41981-keyerror-optimum-quanto
Nov 4, 2025
Merged

Fix KeyError for optimum.quanto in _is_package_available#1
somdipto merged 1 commit intomainfrom
fix/41981-keyerror-optimum-quanto

Conversation

@somdipto
Copy link
Copy Markdown
Owner

@somdipto somdipto commented Nov 3, 2025

Fixes huggingface#41981

Adds KeyError to exception handling in _is_package_available function to handle cases where package names are not present in PACKAGE_DISTRIBUTION_MAPPING.

@somdipto somdipto merged commit 123249e into main Nov 4, 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.

KeyError: 'optimum.quanto' for _is_package_available

1 participant