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] Multi-GPU for tf-DQN/PG/A2C. #13393

Merged
merged 25 commits into from
Mar 8, 2021

Conversation

sven1977
Copy link
Contributor

@sven1977 sven1977 commented Jan 13, 2021

Currently, RLlib only supports multi-GPU training for tf-PPO and tf-IMPALA.
This PR adds tf-DQN, tf-A2C, and tf-PG multi-GPU support.

Adding multi-GPU support for torch and tf-eager is planned for the near future as well.

Why are these changes needed?

Related issue number

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@sven1977 sven1977 changed the title [RLlib] Multi-GPU for algos other than PPO/IMPALA. [RLlib] Multi-GPU for tf-DQN/PG/A2C. Feb 23, 2021
@sven1977 sven1977 marked this pull request as ready for review February 23, 2021 14:06
…i_gpu_other_algos

# Conflicts:
#	doc/source/rllib-algorithms.rst
#	rllib/agents/dqn/dqn_tf_policy.py
#	rllib/agents/dqn/dqn_torch_policy.py
#	rllib/agents/trainer.py
@sven1977 sven1977 merged commit 732197e into ray-project:master Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants