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

Remove obsolete layer_norm_names parameter and add peft>=0.3.0 to requirements #366

Merged
merged 4 commits into from
May 15, 2023

Conversation

teticio
Copy link
Contributor

@teticio teticio commented May 12, 2023

The recent changes in peft break some of the scripts. E.g., rl_training passes the obsolete parameter layer_norm_names to the pretrained_model call as it detects that it is not consumed by prepare_model_for_int8_training, causing an error. Fix: remove all references to layer_norm_names and add peft>=0.3.0 to requirements.txt.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented May 12, 2023

The documentation is not available anymore as the PR was closed or merged.

Copy link
Contributor

@younesbelkada younesbelkada left a comment

Choose a reason for hiding this comment

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

Thank you for this! Could you run the styling checks?

make style && make quality

Copy link

Choose a reason for hiding this comment

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

I think you have a typo and mean peft>=0.3.0 (not pert)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops, sorry about that!

@younesbelkada younesbelkada merged commit e547c39 into huggingface:main May 15, 2023
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