Skip to content

Conversation

@SunMarc
Copy link
Member

@SunMarc SunMarc commented Mar 12, 2025

What does this PR do?

This PR fixes a bug that was introduced since we are loading empty state dict now. For bnb, we need to pass a full state dict as we extract some params from it.

@github-actions github-actions bot marked this pull request as draft March 12, 2025 10:18
@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 marked this pull request as ready for review March 12, 2025 10:20
Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

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

thanks

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

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

Ok!

@LysandreJik LysandreJik merged commit 7652804 into main Mar 12, 2025
20 of 24 checks passed
@LysandreJik LysandreJik deleted the fix-state-dict-bnb branch March 12, 2025 10:40
LysandreJik pushed a commit that referenced this pull request Mar 12, 2025
@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.

5 participants