From 6aee6410692f0a37cbd439b8f5331b5d76f503e4 Mon Sep 17 00:00:00 2001 From: Weilong Wu Date: Fri, 10 Jun 2022 12:11:06 +0800 Subject: [PATCH] Add option for executor profiler (#43355) * Add option for test executor profiler * Change option for test executor_profiler --- python/paddle/fluid/tests/unittests/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/paddle/fluid/tests/unittests/CMakeLists.txt b/python/paddle/fluid/tests/unittests/CMakeLists.txt index 6710ddb97dc..b391837e546 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 -- GitLab