-
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] MADDPG: Move into main algorithms
folder and add proper unit and learning tests.
#24579
Conversation
agents
folder and transfer to training_iteration
API.algorithms
folder and add proper unit and learning tests.
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.
Does this learning test have to be run on pull requests? It feels like it doesn't impact our critical users, and can be moved to weekly.
py_test( | ||
name = "learning_tests_two_step_game_maddpg", | ||
main = "tests/run_regression_tests.py", | ||
tags = ["team:ml", "tf_only", "no_tf_eager_tracing", "learning_tests", "learning_tests_discrete"], |
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.
Could we maybe instead add this to the weekly ci -- I feel like we don't need to as widely support this algorithm until there is a customer use case.
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.
Good question: I think we should move toward:
- CI-tests: small tasks that can be learnt in 1-2 min (CartPole, TwoStepGame, maybe Pendulum or simpler cont. actions problem)
- nightly tests: hard tasks, requiring GPU + ~1h of completion on >1 workers
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'll leave this test here for now to roughly match the other algos' coverage (everyone has CartPole/Pendulum tests in the CI, which is ok).
MADDPG: Move into main
algorithms
folder and transfer totraining_iteration
API.Why are these changes needed?
Related issue number
Checks
scripts/format.sh
to lint the changes in this PR.