Skip to content

Commit 99308b1

Browse files
committed
rerun CI
1 parent 37842d8 commit 99308b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

python/paddle/v2/framework/tests/test_nccl_init_op.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
exit(0)
1010

1111
gpu_count = core.get_cuda_device_count()
12+
13+
if gpu_count <= 1:
14+
exit(1)
15+
1216
g_scope = core.Scope()
1317
g_ctx = core.DeviceContext.create(core.CPUPlace())
1418

0 commit comments

Comments
 (0)