From 80eb77788fcd4f69d981dd43ef08116a65ec3eb5 Mon Sep 17 00:00:00 2001 From: guofei <52460041+gfwm2013@users.noreply.github.com> Date: Fri, 25 Dec 2020 14:39:52 +0800 Subject: [PATCH] Skip Windows Multi-GPU test of test_fetch_lod_tensor_array (#29508) * Fix Windows unittest of test_fetch_lod_tensor_array --- python/paddle/fluid/tests/unittests/CMakeLists.txt | 3 +++ tools/windows/run_unittests.sh | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/unittests/CMakeLists.txt b/python/paddle/fluid/tests/unittests/CMakeLists.txt index f8dbc4dd52..4f5e05c4a1 100644 --- a/python/paddle/fluid/tests/unittests/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/CMakeLists.txt @@ -325,6 +325,7 @@ function(parallel_bash_test_modules TARGET_NAME) endfunction() list(REMOVE_ITEM TEST_OPS test_feed_data_check_shape_type) +list(REMOVE_ITEM TEST_OPS test_fetch_lod_tensor_array) list(REMOVE_ITEM TEST_OPS test_warpctc_op) list(REMOVE_ITEM TEST_OPS test_parallel_executor_crf) list(REMOVE_ITEM TEST_OPS test_parallel_executor_profiler) @@ -538,10 +539,12 @@ if(WIN32) py_test_modules(test_parallel_executor_transformer_auto_growth MODULES test_parallel_executor_transformer_auto_growth ENVS FLAGS_allocator_strategy=auto_growth CUDA_VISIBLE_DEVICES=0) py_test_modules(test_fuse_all_reduce_pass MODULES test_fuse_all_reduce_pass ENVS CUDA_VISIBLE_DEVICES=0) py_test_modules(test_feed_data_check_shape_type MODULES test_feed_data_check_shape_type ENVS CUDA_VISIBLE_DEVICES=0) + py_test_modules(test_fetch_lod_tensor_array MODULES test_fetch_lod_tensor_array ENVS CUDA_VISIBLE_DEVICES=0) else() py_test_modules(test_parallel_executor_transformer_auto_growth MODULES test_parallel_executor_transformer_auto_growth ENVS FLAGS_allocator_strategy=auto_growth) py_test_modules(test_fuse_all_reduce_pass MODULES test_fuse_all_reduce_pass) py_test_modules(test_feed_data_check_shape_type MODULES test_feed_data_check_shape_type) + py_test_modules(test_fetch_lod_tensor_array MODULES test_fetch_lod_tensor_array) endif() py_test_modules(test_data_norm_op MODULES test_data_norm_op) diff --git a/tools/windows/run_unittests.sh b/tools/windows/run_unittests.sh index 7ad9ce4346..1399bf4699 100644 --- a/tools/windows/run_unittests.sh +++ b/tools/windows/run_unittests.sh @@ -60,7 +60,6 @@ diable_wingpu_test="^test_analysis_predictor$|\ ^test_decoupled_py_reader_data_check$|\ ^test_eager_deletion_delete_vars$|\ ^test_eager_deletion_while_op$|\ -^test_fetch_lod_tensor_array$|\ ^test_fleet_base_single$|\ ^test_fuse_elewise_add_act_pass$|\ ^test_fuse_optimizer_pass$|\ -- GitLab