Skip to content

[FSDP2] Fix: "..." is not a buffer or a paremeter #3545

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

Merged
merged 1 commit into from
May 6, 2025
Merged

Conversation

S1ro1
Copy link
Member

@S1ro1 S1ro1 commented May 2, 2025

Sometimes, the infer logic fails when we use LORA, this fixes it

See mentioned PR in trl for test

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

@S1ro1 S1ro1 changed the title WIP: Lora related fixes [FSDP2] Fix: "..." is not a buffer or a paremeter May 6, 2025
@S1ro1 S1ro1 requested a review from SunMarc May 6, 2025 10:02
@S1ro1 S1ro1 marked this pull request as ready for review May 6, 2025 10:03
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.

LGTM !

@SunMarc SunMarc merged commit 3a941d4 into main May 6, 2025
29 checks passed
@SunMarc SunMarc deleted the patch-fsdp2-lora branch May 6, 2025 12:28
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