Skip to content

Commit 6becc4a

Browse files
rohitgr7lexierule
authored andcommitted
skip horovod nccl test
1 parent 338408b commit 6becc4a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/helpers/runif.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,9 @@
3636
from horovod.common.util import nccl_built
3737

3838
nccl_built()
39+
_HOROVOD_NCCL_AVAILABLE = True
3940
except (ImportError, ModuleNotFoundError, AttributeError):
4041
_HOROVOD_NCCL_AVAILABLE = False
41-
finally:
42-
_HOROVOD_NCCL_AVAILABLE = True
4342

4443

4544
class RunIf:

0 commit comments

Comments
 (0)