-
Notifications
You must be signed in to change notification settings - Fork 12
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] Introduce RLlib Intro template #392
base: main
Are you sure you want to change the base?
Conversation
cc: @aslonnie @GokuMohandas as well |
templates/intro-rllib/atari_ppo.py
Outdated
) | ||
|
||
config.resources(num_gpus=0) | ||
config.learners( |
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.
Let's move these into the main config bracket above.
templates/intro-rllib/atari_ppo.py
Outdated
num_gpus_per_learner=1, | ||
) | ||
|
||
config.env_runners(num_env_runners=95) |
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.
this, too (move these into the main config bracket above).
templates/intro-rllib/atari_ppo.py
Outdated
) | ||
.training( | ||
learner_connector=_make_learner_connector, | ||
train_batch_size_per_learner=4000, # 5000 on old yaml example |
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.
remove: "# 5000 on old yaml example"
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.
Note: With the approach we are establish now as per our last offline conversation, this won't work anymore, since we copy the config from the tuned example from the ray repo.
This PR introduces a template for RLlib.
Context -> https://docs.google.com/document/d/1UxNRSnOZ7QkZi1sw2e5mpSZ9xg-hBQw0rMzmuUe_MA0/edit?tab=t.0#heading=h.a084zdxe2jqv