Skip to content

Specifying device on a multi GPU machine #313

Answered by gijskoning
hegde95 asked this question in Q&A
Discussion options

You must be logged in to vote

Brax uses Jax to compile the training loop with XLA. This means it can run on the gpu including the environments. Your question is mostly related to the Jax api. With Jax you can specify the devices to be used: cpu, gpu or multiple GPUs. https://jax.readthedocs.io/en/latest/notebooks/quickstart.html

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by btaba
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants