The GPU will be automatically used by the Trainer
, if that’s not the case, make sure you have properly installed your NVIDIA drivers and PyTorch.
Basically
import torch
torch.cuda.is_available()
should print True
.
The GPU will be automatically used by the Trainer
, if that’s not the case, make sure you have properly installed your NVIDIA drivers and PyTorch.
Basically
import torch
torch.cuda.is_available()
should print True
.