From 53f24669433b422e7773eecacdb511fd70a082e9 Mon Sep 17 00:00:00 2001 From: Yuang Liu Date: Tue, 13 Jun 2023 08:50:22 +0800 Subject: [PATCH] move single card ut to legacy_test dir (#54560) --- test/collective/CMakeLists.txt | 5 ----- test/legacy_test/CMakeLists.txt | 1 + test/{collective => legacy_test}/test_fused_comm_buffer.py | 0 3 files changed, 1 insertion(+), 5 deletions(-) rename test/{collective => legacy_test}/test_fused_comm_buffer.py (100%) diff --git a/test/collective/CMakeLists.txt b/test/collective/CMakeLists.txt index 40d96b51295..a7c80ca83a8 100644 --- a/test/collective/CMakeLists.txt +++ b/test/collective/CMakeLists.txt @@ -455,10 +455,5 @@ if((WITH_ROCM OR WITH_GPU) AND (LINUX)) "PADDLE_DIST_UT_PORT=21958;http_proxy=;https_proxy=") set_tests_properties(test_orthogonal_strategy PROPERTIES TIMEOUT "120") endif() - -if((WITH_GPU) AND (LINUX)) - py_test_modules(test_fused_comm_buffer MODULES test_fused_comm_buffer) -endif() - add_subdirectory(fleet) add_subdirectory(multinode) diff --git a/test/legacy_test/CMakeLists.txt b/test/legacy_test/CMakeLists.txt index b3d630d2d52..ed7ba083808 100644 --- a/test/legacy_test/CMakeLists.txt +++ b/test/legacy_test/CMakeLists.txt @@ -77,6 +77,7 @@ if(NOT WITH_GPU) list(REMOVE_ITEM TEST_OPS test_fused_bias_dropout_residual_layer_norm_op_api) list(REMOVE_ITEM TEST_OPS test_fused_attention_pass) list(REMOVE_ITEM TEST_OPS test_fused_feedforward_pass) + list(REMOVE_ITEM TEST_OPS test_fused_comm_buffer) list(REMOVE_ITEM DIST_TEST_OPS "test_dist_hapi_model") list(REMOVE_ITEM DIST_TEST_OPS "test_dist_fleet_spmt") list(REMOVE_ITEM DIST_TEST_OPS "test_dist_fleet_minimize") diff --git a/test/collective/test_fused_comm_buffer.py b/test/legacy_test/test_fused_comm_buffer.py similarity index 100% rename from test/collective/test_fused_comm_buffer.py rename to test/legacy_test/test_fused_comm_buffer.py -- GitLab