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

Allow to use CPU if there is no GPU #313

Merged
merged 1 commit into from
Apr 18, 2020
Merged

Conversation

pkol
Copy link
Contributor

@pkol pkol commented Feb 21, 2020

jax_platform_name == '' means try GPU then fall back to CPU.

With this change it's possible to train RL using CPU only. GPU will be used if present.

jax_platform_name == '' means try GPU then fall back to CPU.
@afrozenator afrozenator added ready to pull Added when the PR is ready to be merged. and removed ready to pull Added when the PR is ready to be merged. labels Feb 29, 2020
@trax-robot trax-robot merged commit ad45d0b into google:master Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes ready to pull Added when the PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants