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

mask_out_loss_for_last_step for on-policy training #1595

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

emailweixu
Copy link
Contributor

@emailweixu emailweixu commented Jan 16, 2024

In #1548, mask_out_loss_for_last_step was added. But it is only used for off-policy training. This PR make it work for on-policy training.

@emailweixu emailweixu merged commit 59f960e into pytorch Jan 18, 2024
2 checks passed
@emailweixu emailweixu deleted the PR_on_policy_mask_out_loss_for_last_step branch January 18, 2024 22:54
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.

2 participants