Skip to content

🪪 Adds profiling decorators for GRPOTrainer #2889

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 9 commits into from
Feb 20, 2025
Merged

Conversation

edbeeching
Copy link
Collaborator

What does this PR do?

Adds a profiling decorator and wraps some key methods in the GRPO trainer. If you are reporting to wandb you now have a profiling section with some timings:
image


SLIDER_TABLE = True
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

sorry accidently included this, I will revert

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

@qgallouedec
Copy link
Member

Cool!!

@qgallouedec qgallouedec changed the title Adds profiling decorators for GRPOTrainer 🪪 Adds profiling decorators for GRPOTrainer Feb 18, 2025
@edbeeching edbeeching merged commit a92e00e into main Feb 20, 2025
14 checks passed
@edbeeching edbeeching deleted the grpo-profilers branch February 20, 2025 08:57
jhinpan pushed a commit to jhinpan/trl-jin that referenced this pull request Mar 12, 2025
* adds profiling decorator

* naming + precommit

* style

* revert inclusion of slider table

* revert 2

* revert3

* revert4

* revert 5 fml

---------

Co-authored-by: Quentin Gallouédec <[email protected]>
yxliu-TAMU pushed a commit to mincheolseong/ECEN743-GRPO-Project-Proposal that referenced this pull request Apr 20, 2025
* adds profiling decorator

* naming + precommit

* style

* revert inclusion of slider table

* revert 2

* revert3

* revert4

* revert 5 fml

---------

Co-authored-by: Quentin Gallouédec <[email protected]>
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