We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8887b3c commit 7d5febcCopy full SHA for 7d5febc
smdebug/_version.py
@@ -1 +1 @@
1
-__version__ = "1.0.33"
+__version__ = "1.0.34"
smdebug/core/utils.py
@@ -61,19 +61,15 @@ class FRAMEWORK(Enum):
61
62
63
try:
64
- import horovod.torch as hvd
65
-
66
- # This redundant import is necessary because horovod does not raise an ImportError if the library is not present
67
- import torch # noqa
+ import horovod.tensorflow as hvd
68
69
_hvd_imported = hvd
70
except (ModuleNotFoundError, ImportError):
71
- try:
72
- import horovod.tensorflow as hvd
+ _hvd_imported = None
+except Exception as e:
+ raise SMDebugError(e)
+
73
74
- _hvd_imported = hvd
75
- except (ModuleNotFoundError, ImportError):
76
- _hvd_imported = None
77
78
79
logger = get_logger()
0 commit comments