Feliks Zaslavskiy commited on
Commit
ff208e8
1 Parent(s): d75ae5b
Files changed (1) hide show
  1. check_for_metal.py +3 -1
check_for_metal.py CHANGED
@@ -1,4 +1,6 @@
1
  import torch
2
 
3
  if not torch.backends.mps.is_available():
4
- print("MPS is available")
 
 
 
1
  import torch
2
 
3
  if not torch.backends.mps.is_available():
4
+ print("MPS is available")
5
+ else:
6
+ print("MPS not available")