-
Notifications
You must be signed in to change notification settings - Fork 112
Selecting GPU(s) for Prediction #94
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
Comments
|
Thank you for your quick and informative reply. Could you please explain which of the options under "torchrun" to use for specifying the use of more than one GPU and give an example of the corresponding command? Thank you. |
@rjrich you can refer to https://pytorch.org/docs/stable/elastic/run.html#environment-variables, if you set those DDP Environment Variables, the above script is just a demo command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am running Protenix on a local Linux machine in a conda environment. My machine has 2 x Nvidia A6000 GPUs (CUDA visible devices 0 and 1). If I wanted to select GPU1 for Protenix predictions, would I just put "CUDA_VISIBLE_DEVICES=1" on the command line in front of "protenix predict ..."? In addition, is it possible to distribute the calculations over both GPUs? If so, how? Thank you.
The text was updated successfully, but these errors were encountered: