Dear all,
I am trying to train scvi model (macOS, M1 MAX, scvi-tools (0.20.3)). GPU is available, but not used.
and the command:
model.train(use_gpu=True)
gives:
MisconfigurationException: MPSAccelerator
can not run on your system since the accelerator is not available. The following accelerator(s) is available and can be passed into accelerator
argument of Trainer
: [‘cpu’].
import torch
import math
print(torch.backends.mps.is_available()) ----> True
print(torch.backends.mps.is_built()). ----> True
How to activate GPU and make use of it? Can anybody help me to solve this issue?
Thank you.