Ignore old GPU when building Pytorch?

When choosing CUDA device, you can detrmine the GPU by doing torch.cuda.set_device([device]). Read more here; link.

Feel free to read this thread too for alternative options such as setting CUDA_VISIBLE_DEVICES