0b93f6d ff208e8
1
2
3
4
5
6
import torch if not torch.backends.mps.is_available(): print("MPS is available") else: print("MPS not available")