未验证 提交 6aee6410 编写于 作者: W Weilong Wu 提交者: GitHub

Add option for executor profiler (#43355)

* Add option for test executor profiler

* Change option for test executor_profiler
上级 114723c9
......@@ -977,11 +977,11 @@ if(WITH_DISTRIBUTE)
endif()
py_test_modules(test_parallel_executor_crf MODULES test_parallel_executor_crf)
# Coverage pipeline use cuda 10.1 now, profiler will random hang in cuda 10.1,
# profiler will random hang in linux cuda 10.1 or 10.2
# see https://github.com/PaddlePaddle/Paddle/issues/29082 for details.
# We guess there are some bugs in cuda 10.1 or 10.2,
# since this unittest is stable in cuda 11 (py3 pipeline) now.
if(NOT WITH_COVERAGE)
# We guess there are some bugs in linux cuda 10.1 or 10.2,
# since this unittest is stable in cuda 11.2 and 10.2 (windows-ci pipeline) now.
if(NOT (LINUX AND CUDA_VERSION LESS 11.0))
py_test_modules(test_parallel_executor_profiler MODULES
test_parallel_executor_profiler)
set_tests_properties(test_parallel_executor_profiler
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册