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

[Training - don't merge] explicitly set linear_cls to LoRACompatibleLinear when peft is installed #6045

Closed
wants to merge 13 commits into from

Conversation

sayakpaul
Copy link
Member

@sayakpaul sayakpaul commented Dec 4, 2023

What does this PR do?

Fixes: #5919.

The number of files that were changes might seem large but they are largely just about assigning linear_cls as a member.

@patrickvonplaten does this work for you?

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@sayakpaul
Copy link
Member Author

@DN6 any reason why the test fetcher is failing?

@sayakpaul sayakpaul changed the title [Training] explicitly set linear_cls to LoRACompatibleLinear when peft is installed [Training - don't merge] explicitly set linear_cls to LoRACompatibleLinear when peft is installed Jan 3, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the contributing guidelines are likely to be ignored.

@github-actions github-actions bot added the stale Issues that haven't received updates label Jan 27, 2024
@github-actions github-actions bot closed this Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issues that haven't received updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError: 'Linear' object has no attribute 'set_lora_layer'
2 participants