Skip to content

correctly implement gradient checkpointing to multi-adapter example#479

Merged
younesbelkada merged 1 commit intohuggingface:mainfrom
mnoukhov:marl-rm-gradient-checkpoint
Jul 6, 2023
Merged

correctly implement gradient checkpointing to multi-adapter example#479
younesbelkada merged 1 commit intohuggingface:mainfrom
mnoukhov:marl-rm-gradient-checkpoint

Conversation

@mnoukhov
Copy link
Contributor

pass gradient_checkpointing to both prepare_model and TrainingArgs
switch from discontinued int8 to new peft kbit api
pass max_length to RewardTrainer

switch to new peft api
add max_length to RewardTrainer
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jun 29, 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.

Thanks a lot for the fix!

@younesbelkada younesbelkada merged commit 685620a into huggingface:main Jul 6, 2023
yxliu-TAMU pushed a commit to mincheolseong/ECEN743-GRPO-Project-Proposal that referenced this pull request Apr 20, 2025
switch to new peft api
add max_length to RewardTrainer
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