various additions for M1 GPU #299

Closed
Smiril wants to merge 80 commits from main into main
Showing only changes of commit 2389ebe35d - Show all commits
+1 -1
View File
@@ -48,7 +48,7 @@ class fsModel(BaseModel):
torch.backends.cudnn.benchmark = True
self.isTrain = opt.isTrain
if not torch.backends.mps.is_available():
if not torch.backends.mps.is_available():
if not torch.backends.mps.is_built():
device = torch.device("cuda:0")
else: