mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-27 13:12:20 +08:00
Update trainer.py
This commit is contained in:
1 parent
0ce180f6ec
commit
a3bd66167b
1 file changed
+1
-1
@@ -24,7 +24,7 @@ from pytorch_lightning.utils.debugging import MisconfigurationException
|
||||
try:
|
||||
from apex import amp
|
||||
APEX_AVAILABLE = True
|
||||
except ModuleNotFoundError: # pragma: no cover
|
||||
except Exception:
|
||||
APEX_AVAILABLE = False
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user