-
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; new API stack by default] Switch on new API stack by default for SAC and DQN. #47217
[RLlib; new API stack by default] Switch on new API stack by default for SAC and DQN. #47217
Conversation
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
…ch_on_new_api_stack_by_default_for_sac_and_dqn Signed-off-by: sven1977 <[email protected]> # Conflicts: # rllib/algorithms/dqn/tests/test_dqn.py # rllib/algorithms/ppo/tests/test_repro_ppo.py # rllib/algorithms/sac/sac.py # rllib/algorithms/sac/tests/test_rnnsac.py # rllib/algorithms/sac/tests/test_sac.py
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
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.
LGTM.
} | ||
# `.api_stack()` | ||
self.api_stack( |
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.
Why not self.enable_rl_module_and_learner = True
?
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.
There is this weird logic about the hybrid API stack's exploration settings, requiring us to go through the actual method call. We can remove all this logic, once the hybrid API stack is deprecated (soon! :) ).
…ch_on_new_api_stack_by_default_for_sac_and_dqn
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
…ch_on_new_api_stack_by_default_for_sac_and_dqn
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
…for SAC and DQN. (ray-project#47217) Signed-off-by: ujjawal-khare <[email protected]>
Switch on new API stack by default for SAC and DQN.
Why are these changes needed?
Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.