-
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] Cleanup examples folder 11: Example for using fractional GPUs on the Learners. #45379
[RLlib] Cleanup examples folder 11: Example for using fractional GPUs on the Learners. #45379
Conversation
…rithm_config_dissolve_resources_method
…nup_examples_folder_11_fractional_gpus
…p_examples_folder_11_fractional_gpus
…p_examples_folder_11_fractional_gpus # Conflicts: # rllib/utils/test_utils.py
…nup_examples_folder_11_fractional_gpus Signed-off-by: sven1977 <svenmika1977@gmail.com> # Conflicts: # doc/source/rllib/rllib-learner.rst # rllib/algorithms/algorithm_config.py # rllib/utils/test_utils.py
…nup_examples_folder_11_fractional_gpus Signed-off-by: sven1977 <svenmika1977@gmail.com> # Conflicts: # rllib/utils/test_utils.py
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. Specifically the change in the test utils will clear some ambiguities.
@@ -1358,6 +1359,11 @@ def run_rllib_example_script_experiment( | |||
tune_callbacks: A list of Tune callbacks to configure with the tune.Tuner. | |||
In case `args.wandb_key` is provided, will append a WandB logger to this | |||
list. | |||
keep_config: Set this to True, if you don't want this utility to change the |
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.
Yeah. Very nice. Had a couple of cases where my config was changed unintendedly by the function and it was ambiguous what happened.
…nup_examples_folder_11_fractional_gpus
Cleanup examples folder 11: Add example on how to use fractional GPUs on the Learners.
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.