init
This commit is contained in:
7
torch_vacc/vacc/amp/common.py
Normal file
7
torch_vacc/vacc/amp/common.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import torch
|
||||
|
||||
__all__ = ["amp_definitely_not_available"]
|
||||
|
||||
|
||||
def amp_definitely_not_available():
|
||||
return not torch.vacc.is_available()
|
||||
Reference in New Issue
Block a user