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

Fix : HQQ config when hqq not available #35655

Merged
merged 5 commits into from
Jan 14, 2025
Merged

Fix : HQQ config when hqq not available #35655

merged 5 commits into from
Jan 14, 2025

Conversation

MekkCyber
Copy link
Contributor

What does this PR do?

Fix hqq config when hqq not available

Who can review ?

@SunMarc

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

Copy link
Member

@SunMarc SunMarc left a comment

Choose a reason for hiding this comment

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

While this indeed fixes the tests that are failing in the CI, this is not the right solution as this introduces a behavior we don't want. To fix the CI, you should add a @require_hqq decorator to the hqq tests. Also, for the config, we can also raise an error with hqq is not installed as we need to import a class.

@MekkCyber MekkCyber requested a review from SunMarc January 14, 2025 07:29
Copy link
Member

@SunMarc SunMarc 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 iterating ! LGTM

@MekkCyber MekkCyber merged commit 0506365 into main Jan 14, 2025
26 checks passed
@MekkCyber MekkCyber deleted the fix_hqq_tests branch January 14, 2025 10:37
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