diff --git a/python/paddle/fluid/tests/unittests/CMakeLists.txt b/python/paddle/fluid/tests/unittests/CMakeLists.txt index 6710ddb97dc24f7246117f15af2e2518c49e5d2e..b391837e546711615acb4e3ac0e40ad0bf81d103 100755 --- a/python/paddle/fluid/tests/unittests/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/CMakeLists.txt @@ -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