提交 5335ff62 编写于 作者: M minqiyang

Polish code

上级 2720330d
...@@ -152,5 +152,7 @@ if __name__ == '__main__': ...@@ -152,5 +152,7 @@ if __name__ == '__main__':
for parallel in (False, True): for parallel in (False, True):
if use_cuda and not core.is_compiled_with_cuda(): if use_cuda and not core.is_compiled_with_cuda():
continue continue
# TODO(minqiyang): remove this line after fixing the deletion
# order problem of Scope in ParallelExecutor in manylinux
if six.PY2: if six.PY2:
main(use_cuda=use_cuda, parallel=parallel) main(use_cuda=use_cuda, parallel=parallel)
...@@ -154,4 +154,7 @@ if __name__ == '__main__': ...@@ -154,4 +154,7 @@ if __name__ == '__main__':
for parallel in (False, True): for parallel in (False, True):
if use_cuda and not core.is_compiled_with_cuda(): if use_cuda and not core.is_compiled_with_cuda():
continue continue
# TODO(minqiyang): remove this line after fixing the deletion
# order problem of Scope in ParallelExecutor in manylinux
if six.PY2:
main(use_cuda=use_cuda, parallel=parallel) main(use_cuda=use_cuda, parallel=parallel)
...@@ -137,5 +137,7 @@ if __name__ == '__main__': ...@@ -137,5 +137,7 @@ if __name__ == '__main__':
for parallel in (False, True): for parallel in (False, True):
if use_cuda and not core.is_compiled_with_cuda(): if use_cuda and not core.is_compiled_with_cuda():
continue continue
# TODO(minqiyang): remove this line after fixing the deletion
# order problem of Scope in ParallelExecutor in manylinux
if six.PY2: if six.PY2:
main(use_cuda=use_cuda, parallel=parallel) main(use_cuda=use_cuda, parallel=parallel)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册