-
Notifications
You must be signed in to change notification settings - Fork 327
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
[Feature] Add reduction parameter to Off-Policy losses. #1956
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/rl/1956
Note: Links to docs will display an error until the docs builds have been completed. ❌ 6 New Failures, 21 Unrelated FailuresAs of commit 65c6399 with merge base 492091a (): NEW FAILURES - The following jobs have failed:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much this is an amazing feature!
We should also do the deprecated REDQ because i'll de-deprecate it soon (it runs faster than the other lol)
I have changed the test so each loss has a dedicated test for the For on-policy losses we did not have dedicated tests for |
Another PR seems appropriate! Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks awesome thanks!
Approving it but can you quickly simplify the DQN case? I think we can avoid the call to apply in this case (which will make the loss faster to execute)
Description
Same as #1890, but for Off-Policy losses.
Motivation and Context
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.
You can use the syntax
close #15213
if this solves the issue #15213Types of changes
What types of changes does your code introduce? Remove all that do not apply:
Checklist
Go over all the following points, and put an
x
in all the boxes that apply.If you are unsure about any of these, don't hesitate to ask. We are here to help!