Skip to content

Commit 0d30185

Browse files
authored
remove some static manual uts (#67854)
1 parent 81dc24b commit 0d30185

16 files changed

+1
-1434
lines changed

test/deprecated/legacy_test/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,9 @@ list(REMOVE_ITEM TEST_OPS test_fused_dot_product_attention_op_static)
8181
list(REMOVE_ITEM TEST_OPS test_fuse_dot_product_attention_pass)
8282

8383
if(((NOT WITH_ROCM) AND (NOT WITH_GPU)) OR WIN32)
84-
list(REMOVE_ITEM TEST_OPS test_c_comm_init_all_op)
8584
list(REMOVE_ITEM TEST_OPS test_memcpy_op)
8685
list(REMOVE_ITEM TEST_OPS test_raw_program_optimizer)
87-
list(REMOVE_ITEM TEST_OPS test_fleet_gradient_scale)
8886
list(REMOVE_ITEM TEST_OPS test_disable_signal_handler)
89-
list(REMOVE_ITEM TEST_OPS test_fleet_executor_with_task_nodes)
9087
list(REMOVE_ITEM TEST_OPS test_fleet_executor_multi_devices)
9188
list(REMOVE_ITEM TEST_OPS test_auto_parallel_mapper_deprecated)
9289
list(REMOVE_ITEM TEST_OPS test_fleet_exe_dist_model_tensor)

test/legacy_test/CMakeLists.txt

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ if(WITH_COVERAGE)
2424
list(REMOVE_ITEM TEST_OPS test_unique)
2525
endif()
2626
list(APPEND DIST_TEST_OPS test_parallel_dygraph_dataparallel)
27-
list(APPEND DIST_TEST_OPS test_static_model_parallel_fused_feedforward)
28-
list(APPEND DIST_TEST_OPS test_static_model_parallel_fused_attention)
2927
set(MIXED_DIST_TEST_OPS ${DIST_TEST_OPS})
3028
#remove distribute unittests.
3129

@@ -83,16 +81,12 @@ list(REMOVE_ITEM TEST_OPS test_fused_dot_product_attention_op_static)
8381
list(REMOVE_ITEM TEST_OPS test_fuse_dot_product_attention_pass)
8482

8583
if(((NOT WITH_ROCM) AND (NOT WITH_GPU)) OR WIN32)
86-
list(REMOVE_ITEM TEST_OPS test_c_comm_init_all_op)
8784
list(REMOVE_ITEM TEST_OPS test_c_embedding_op)
8885
list(REMOVE_ITEM TEST_OPS test_pipeline_parallel)
8986
list(REMOVE_ITEM TEST_OPS test_fleet_perf_test)
9087
list(REMOVE_ITEM TEST_OPS test_memcpy_op)
9188
list(REMOVE_ITEM TEST_OPS test_raw_program_optimizer)
92-
list(REMOVE_ITEM TEST_OPS test_fleet_gradient_scale)
9389
list(REMOVE_ITEM TEST_OPS test_disable_signal_handler)
94-
list(REMOVE_ITEM TEST_OPS test_fleet_executor)
95-
list(REMOVE_ITEM TEST_OPS test_fleet_executor_with_task_nodes)
9690
list(REMOVE_ITEM TEST_OPS test_fleet_executor_multi_devices)
9791
list(REMOVE_ITEM TEST_OPS test_fleet_exe_dist_model_tensor)
9892
list(REMOVE_ITEM TEST_OPS test_async_offload_reload)
@@ -725,7 +719,6 @@ endif()
725719
set_tests_properties(
726720
test_buffer_shared_memory_reuse_pass_and_fuse_optimization_op_pass
727721
test_buffer_shared_memory_reuse_pass PROPERTIES LABELS "RUN_TYPE=DIST")
728-
set_tests_properties(test_sync_batch_norm_op PROPERTIES LABELS "RUN_TYPE=DIST")
729722

730723
if(NOT WIN32 AND NOT APPLE)
731724
set_tests_properties(test_imperative_signal_handler
@@ -762,7 +755,6 @@ set_tests_properties(test_cross_op PROPERTIES TIMEOUT 120)
762755
set_tests_properties(test_isin PROPERTIES TIMEOUT 30)
763756
set_tests_properties(test_binomial_op PROPERTIES TIMEOUT 30)
764757
set_tests_properties(test_run PROPERTIES TIMEOUT 120)
765-
set_tests_properties(test_sync_batch_norm_op PROPERTIES TIMEOUT 180)
766758
set_tests_properties(test_gather_nd_op PROPERTIES TIMEOUT 120)
767759

768760
set_tests_properties(test_profiler PROPERTIES TIMEOUT 120)
@@ -921,10 +913,6 @@ endif()
921913

922914
if((WITH_ROCM OR WITH_GPU) AND NOT WIN32)
923915
if(WITH_DISTRIBUTE)
924-
set_tests_properties(test_static_model_parallel_fused_feedforward
925-
PROPERTIES TIMEOUT 120)
926-
set_tests_properties(test_static_model_parallel_fused_attention
927-
PROPERTIES TIMEOUT 120)
928916
set_tests_properties(test_pipeline_parallel PROPERTIES LABELS
929917
"RUN_TYPE=DIST")
930918
set_tests_properties(test_fleet_perf_test PROPERTIES LABELS "RUN_TYPE=DIST")
@@ -1084,7 +1072,6 @@ set(STATIC_BUILD_TESTS
10841072
test_sgd_op_bf16
10851073
test_softmax_mask_fuse_upper_triangle_op
10861074
test_sparse_pooling_op
1087-
test_sync_batch_norm_op
10881075
test_unique
10891076
test_shuffle_batch_op
10901077
test_update_loss_scaling_op
@@ -1138,20 +1125,6 @@ endforeach()
11381125

11391126
set_tests_properties(test_imperative_optimizer_static_build PROPERTIES TIMEOUT
11401127
250)
1141-
set_tests_properties(test_sync_batch_norm_op_static_build
1142-
PROPERTIES LABELS "RUN_TYPE=DIST")
1143-
set_tests_properties(test_sync_batch_norm_op_static_build PROPERTIES TIMEOUT
1144-
250)
1145-
1146-
if((WITH_ROCM OR WITH_GPU) AND NOT WIN32)
1147-
# These UTs are specially designed for FleetExecutor
1148-
set_tests_properties(
1149-
test_fleet_executor PROPERTIES ENVIRONMENT
1150-
"FLAGS_new_executor_micro_batching=False")
1151-
set_tests_properties(
1152-
test_fleet_executor_with_task_nodes
1153-
PROPERTIES ENVIRONMENT "FLAGS_new_executor_micro_batching=False")
1154-
endif()
11551128

11561129
set_tests_properties(test_bicubic_interp_v2_op PROPERTIES TIMEOUT 120)
11571130
py_test_modules(test_stride MODULES test_stride ENVS

test/legacy_test/dist_fleet_sync_batch_norm.py

Lines changed: 0 additions & 150 deletions
This file was deleted.

0 commit comments

Comments
 (0)