-
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] Remove all rllib_contrib algo folders from algorithms/
.
#43656
[RLlib] Remove all rllib_contrib algo folders from algorithms/
.
#43656
Conversation
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. Great cleanup.
config["num_workers"] = 0 | ||
# Test with compression. | ||
config["compress_observations"] = True | ||
config = ( |
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.
Great! Finally this dependence vanishes and makes DQN Rainbow easier to integrate.
|
||
logger = logging.getLogger(__name__) | ||
|
||
|
||
class DQNConfig(SimpleQConfig): | ||
class DQNConfig(AlgorithmConfig): |
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.
Yess :)
hiddens: Dense-layer setup for each the advantage branch and the value | ||
branch | ||
double_q: Whether to use double DQN. | ||
n_step: N-step for Q-learning. |
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.
I will add here that random n-step sampling can be applied via tuple
.
…ecate_rllib_contrib_algos
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
…ecate_rllib_contrib_algos
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
…nto deprecate_rllib_contrib_algos
Signed-off-by: sven1977 <[email protected]>
…ecate_rllib_contrib_algos
…nto deprecate_rllib_contrib_algos
Signed-off-by: sven1977 <[email protected]>
…ecate_rllib_contrib_algos
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
…ecate_rllib_contrib_algos Signed-off-by: sven1977 <[email protected]> # Conflicts: # rllib/algorithms/tests/test_worker_failures.py
Signed-off-by: sven1977 <[email protected]>
…ecate_rllib_contrib_algos
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
…ecate_rllib_contrib_algos
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
…ecate_rllib_contrib_algos
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
…ecate_rllib_contrib_algos
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Signed-off-by: sven1977 <[email protected]>
Remove all rllib_contrib algo folders from
algorithms/
.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.