Skip to content

Conversation

@SunMarc
Copy link
Member

@SunMarc SunMarc commented Mar 17, 2025

What does this PR do?

This PR fixes Hqq quantizer due to recent modeling changes which make use of load_state_dict instead of set_module_tensor_to_device. The issue was that hqq had rewrote load_state_dict and it is causing issue with models with a bias.

@github-actions github-actions bot marked this pull request as draft March 17, 2025 17:15
@github-actions
Copy link
Contributor

Hi 👋, thank you for opening this pull request! The pull request is converted to draft by default. When it is ready for review, please click the Ready for review button (at the bottom of the PR page).

@SunMarc SunMarc requested a review from BenjaminBossan March 17, 2025 17:16
@SunMarc SunMarc marked this pull request as ready for review March 17, 2025 17:29
@SunMarc SunMarc requested a review from MekkCyber March 17, 2025 17:29
@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

@BenjaminBossan BenjaminBossan left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for fixing.

@SunMarc SunMarc merged commit 3017536 into main Mar 18, 2025
24 checks passed
@SunMarc SunMarc deleted the fix-hqq branch March 18, 2025 11:20
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.

5 participants