... | @@ -12,5 +12,5 @@ export CUDA_VISIBLE_DEVICES=0 |
... | @@ -12,5 +12,5 @@ export CUDA_VISIBLE_DEVICES=0 |
|
|
|
|
|
The example above forces your script to use GPU0, whereas for example typing `=1` would let them use GPU1.
|
|
The example above forces your script to use GPU0, whereas for example typing `=1` would let them use GPU1.
|
|
|
|
|
|
Most graphical IDEs that support remote deployment (see ["Remote Code Deployment"](/remote-code)) also allow you to set environment variables in the remote host. For example, you can do this in PyCharm by JetBrains by modifying the "Run Configuration" of your script. Check the documentation of your IDE for more details.
|
|
Most graphical IDEs that support remote deployment (see ["Remote Code Deployment"](/remote-code)) also allow you to set environment variables in the remote host. For example, in PyCharm by JetBrains, this is achieved by modifying the "Run Configuration" of your script. Check the documentation of your IDE for more details.
|
|
|
|
|