fast.ai Course Forums
How to specify gpu like pytorch.device('cuda:2') in fastai?
fastai
fastai dev
sgugger
September 10, 2019, 1:31pm
2
If you use
torch.cuda.set_device(2)
everything should be on that GPU.
2 Likes
Fastai on Apple M1
show post in topic