Ignore specific GPU with pytorch in Anaconda

Hi Asmaron!

Run the process that runs your pytorch code under control of the
CUDA_VISIBLE_DEVICES environment variable. See, for example, this
thread:

For example, if you were to run your pytorch code under a simple python
session (on unix – I’m not sure how to modify this for windows), you would
run

CUDA_VISIBLE_DEVICES=0 python

to launch your python session.

Best.

K. Frank