running ddp tests

This commit is contained in:
William Falcon 2019-07-24 18:30:08 -04:00
parent 3451a62650
commit 9d588f337f
2 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,7 @@ from pytorch_lightning.utils.debugging import MisconfigurationException
try: try:
from apex import amp from apex import amp
APEX_AVAILABLE = True APEX_AVAILABLE = True
except ModuleNotFoundError: except ModuleNotFoundError: # pragma: no cover
APEX_AVAILABLE = False APEX_AVAILABLE = False

View File

@ -30,6 +30,7 @@ exclude_lines =
print(e) print(e)
print(traceback.print_exc()) print(traceback.print_exc())
return * return *
raise Exception
omit = omit =
pytorch_lightning/callbacks/pt_callbacks.py pytorch_lightning/callbacks/pt_callbacks.py