-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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] ModelV2 support for pytorch #5249
Conversation
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test PASSed. |
Test FAILed. |
Test FAILed. |
Test FAILed. |
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.
value function handling is a bit awkward but looks fine
What do these changes do?
Adds ModelV2 support for PyTorch. Since the old TorchModel support was pretty minimal, this deletes them and replaces the code with TorchModelV2 proper.
Related issue number
#4905
Linter
scripts/format.sh
to lint the changes in this PR.