mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
fix rltv imports
This commit is contained in:
@@ -23,7 +23,7 @@ from ..utilities.debugging import MisconfigurationException
|
||||
try:
|
||||
from apex import amp
|
||||
APEX_AVAILABLE = True
|
||||
except Exception:
|
||||
except ImportError:
|
||||
APEX_AVAILABLE = False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user