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

[PPOTrainer] Fix tensorboard issue #330

Merged
merged 1 commit into from
May 11, 2023
Merged

Conversation

younesbelkada
Copy link
Collaborator

What does this PR do?

Addresses #315 (comment)

With #315 being merged, the tensorboard logging was slightly broken. This PR fixes that issue by adding a small check

cc @lvwerra

@younesbelkada younesbelkada marked this pull request as ready for review April 28, 2023 14:26
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Apr 28, 2023

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

@JulesGM
Copy link
Contributor

JulesGM commented Apr 28, 2023

that's cool. would it make sense to add trl_ppo_trainer_ as a prefix to the keys for tensorboard? that way there is no confusion in tensorboard as well

@younesbelkada younesbelkada merged commit 933c91c into main May 11, 2023
11 checks passed
@younesbelkada younesbelkada deleted the fix-tensorboard-issue branch May 11, 2023 15:46
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.

None yet

4 participants