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

[RLlib] Fix missing action distribution error in policy files #35625

Conversation

ArturNiederfahrenhorst
Copy link
Contributor

@ArturNiederfahrenhorst ArturNiederfahrenhorst commented May 22, 2023

Why are these changes needed?

Since we moves action distributions out of forward methods, we missed a small part of that move:
The TorchPolicyV2 and The EagerTFPolicyV2.
This PR fixes that. Therefore, it fixes test_compute_log_likelihoods test.

Affected test was test_compute_log_likelihoods

Signed-off-by: Artur Niederfahrenhorst <[email protected]>
Signed-off-by: Artur Niederfahrenhorst <[email protected]>
@ArturNiederfahrenhorst
Copy link
Contributor Author

Screenshot 2023-05-22 at 16 35 18

Signed-off-by: Artur Niederfahrenhorst <[email protected]>
Signed-off-by: Artur Niederfahrenhorst <[email protected]>
@kouroshHakha
Copy link
Contributor

Rerunning one of the tests ...

@kouroshHakha kouroshHakha merged commit 51190a1 into ray-project:master May 23, 2023
2 checks passed
scv119 pushed a commit to scv119/ray that referenced this pull request Jun 16, 2023
arvind-chandra pushed a commit to lmco/ray that referenced this pull request Aug 31, 2023
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

2 participants