Skip to content
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] Don't add a cpu to bundle for learner when using gpu #35529

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Release test cluster only has 2 gpus not 4, reduce number of gpus to …
…avoid hanging experiment

Signed-off-by: Avnish <[email protected]>
  • Loading branch information
avnishn committed May 21, 2023
commit 162470a28a8e9f35d703216b7508d822cf7e8343
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run_tuner_n_rollout_workers_0_gpu(config):
config = config.rollouts(num_rollout_workers=5)
config = config.resources(
num_cpus_per_learner_worker=1,
num_learner_workers=4,
num_learner_workers=2,
)

tuner = tune.Tuner(
Expand Down Expand Up @@ -94,7 +94,7 @@ def test_multi_node_training_smoke():
.environment("CartPole-v1")
.resources(
num_gpus_per_learner_worker=1,
num_learner_workers=4,
num_learner_workers=2,
)
.rollouts(num_rollout_workers=2)
.reporting(min_time_s_per_iteration=0, min_sample_timesteps_per_iteration=10)
Expand Down