Skip to content

Commit 31ffe94

Browse files
committed
Fix
1 parent 212d828 commit 31ffe94

16 files changed

+0
-6959
lines changed

test/deprecated/legacy_test/CMakeLists.txt

-63
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ string(REPLACE ".py" "" DIST_TEST_OPS "${DIST_TEST_OPS}")
2424
if(WITH_COVERAGE)
2525
list(REMOVE_ITEM TEST_OPS test_unique)
2626
endif()
27-
list(APPEND DIST_TEST_OPS test_auto_parallel_autoconvert_deprecated)
28-
list(APPEND DIST_TEST_OPS test_auto_parallel_data_unshard_deprecated)
29-
list(APPEND DIST_TEST_OPS test_auto_parallel_save_load_deprecated)
3027
set(MIXED_DIST_TEST_OPS ${DIST_TEST_OPS})
3128
#remove distribute unittests.
3229

@@ -41,16 +38,7 @@ list(APPEND MIXED_DIST_TEST_OPS test_fleet_base)
4138
list(APPEND MIXED_DIST_TEST_OPS test_fleet_base_2_deprecated)
4239
list(APPEND MIXED_DIST_TEST_OPS test_fleet_base_3_deprecated)
4340
list(APPEND MIXED_DIST_TEST_OPS test_fleet_auto)
44-
list(APPEND MIXED_DIST_TEST_OPS test_auto_parallel_partitioner_deprecated)
45-
list(APPEND MIXED_DIST_TEST_OPS test_auto_parallel_partitioner_gpt_deprecated)
46-
list(APPEND MIXED_DIST_TEST_OPS test_auto_parallel_searcher_deprecated)
47-
list(APPEND MIXED_DIST_TEST_OPS test_auto_parallel_reshard_deprecated)
48-
list(APPEND MIXED_DIST_TEST_OPS test_auto_parallel_dist_tensor_deprecated)
49-
list(APPEND MIXED_DIST_TEST_OPS test_auto_parallel_reshard_mppp_deprecated)
50-
list(APPEND MIXED_DIST_TEST_OPS test_auto_parallel_reshard_dpmppp_deprecated)
51-
list(APPEND MIXED_DIST_TEST_OPS test_auto_parallel_cost_model_deprecated)
5241
list(APPEND MIXED_DIST_TEST_OPS test_dygraph_hybrid_dp)
53-
list(APPEND MIXED_DIST_TEST_OPS test_auto_parallel_reshard_serial_deprecated)
5442
foreach(TEST_OP ${MIXED_DIST_TEST_OPS})
5543
list(REMOVE_ITEM TEST_OPS ${TEST_OP})
5644
endforeach()
@@ -81,7 +69,6 @@ if(((NOT WITH_ROCM) AND (NOT WITH_GPU)) OR WIN32)
8169
list(REMOVE_ITEM TEST_OPS test_memcpy_op)
8270
list(REMOVE_ITEM TEST_OPS test_raw_program_optimizer)
8371
list(REMOVE_ITEM TEST_OPS test_disable_signal_handler)
84-
list(REMOVE_ITEM TEST_OPS test_auto_parallel_mapper_deprecated)
8572
endif()
8673

8774
if(WIN32)
@@ -149,18 +136,6 @@ if((NOT WITH_GPU) AND (NOT WITH_ROCM))
149136
# TODO(shenliang03): batch_fc_op support CPU device in future
150137
# TODO(Yancey1989): parallel dygraph support CPU device in future
151138
list(REMOVE_ITEM TEST_OPS test_fleet_base_single)
152-
list(REMOVE_ITEM TEST_OPS test_auto_parallel_partitioner_deprecated)
153-
list(REMOVE_ITEM TEST_OPS test_auto_parallel_partitioner_gpt_deprecated)
154-
list(REMOVE_ITEM TEST_OPS test_auto_parallel_searcher_deprecated)
155-
list(REMOVE_ITEM TEST_OPS test_auto_parallel_reshard_deprecated)
156-
list(REMOVE_ITEM TEST_OPS test_auto_parallel_dist_tensor_deprecated)
157-
list(REMOVE_ITEM TEST_OPS test_auto_parallel_reshard_mppp_deprecated)
158-
list(REMOVE_ITEM TEST_OPS test_auto_parallel_reshard_dpmppp_deprecated)
159-
list(REMOVE_ITEM TEST_OPS test_auto_parallel_cost_model_deprecated)
160-
list(REMOVE_ITEM TEST_OPS test_auto_parallel_autoconvert_deprecated)
161-
list(REMOVE_ITEM TEST_OPS test_auto_parallel_data_unshard_deprecated)
162-
list(REMOVE_ITEM TEST_OPS test_auto_parallel_save_load_deprecated)
163-
list(REMOVE_ITEM TEST_OPS test_auto_parallel_reshard_serial_deprecated)
164139

165140
elseif(WITH_GPU)
166141
if(${CUDNN_VERSION} VERSION_LESS 7100)
@@ -503,34 +478,6 @@ if(WITH_DISTRIBUTE)
503478
test_fleet_base_2_deprecated ENVS ${dist_ENVS})
504479
py_test_modules(test_fleet_base_3_deprecated MODULES
505480
test_fleet_base_3_deprecated ENVS ${dist_ENVS})
506-
if(NOT WIN32)
507-
py_test_modules(
508-
test_auto_parallel_partitioner_deprecated MODULES
509-
test_auto_parallel_partitioner_deprecated ENVS ${dist_ENVS})
510-
py_test_modules(
511-
test_auto_parallel_partitioner_gpt_deprecated MODULES
512-
test_auto_parallel_partitioner_gpt_deprecated ENVS ${dist_ENVS})
513-
py_test_modules(test_auto_parallel_searcher_deprecated MODULES
514-
test_auto_parallel_searcher_deprecated ENVS ${dist_ENVS})
515-
py_test_modules(test_auto_parallel_reshard_deprecated MODULES
516-
test_auto_parallel_reshard_deprecated ENVS ${dist_ENVS})
517-
py_test_modules(
518-
test_auto_parallel_dist_tensor_deprecated MODULES
519-
test_auto_parallel_dist_tensor_deprecated ENVS ${dist_ENVS})
520-
py_test_modules(
521-
test_auto_parallel_reshard_mppp_deprecated MODULES
522-
test_auto_parallel_reshard_mppp_deprecated ENVS ${dist_ENVS})
523-
py_test_modules(
524-
test_auto_parallel_reshard_dpmppp_deprecated MODULES
525-
test_auto_parallel_reshard_dpmppp_deprecated ENVS ${dist_ENVS})
526-
py_test_modules(
527-
test_auto_parallel_cost_model_deprecated MODULES
528-
test_auto_parallel_cost_model_deprecated ENVS ${dist_ENVS})
529-
py_test_modules(
530-
test_auto_parallel_reshard_serial_deprecated MODULES
531-
test_auto_parallel_reshard_serial_deprecated ENVS ${dist_ENVS})
532-
533-
endif()
534481
endif()
535482

536483
if(NOT APPLE)
@@ -650,16 +597,6 @@ set_tests_properties(test_uniform_random_op_deprecated PROPERTIES TIMEOUT 60)
650597

651598
set_tests_properties(test_inplace_addto_strategy_deprecated PROPERTIES TIMEOUT
652599
120)
653-
if(WITH_DISTRIBUTE
654-
AND WITH_GPU
655-
AND WITH_NCCL)
656-
set_tests_properties(test_auto_parallel_autoconvert_deprecated
657-
PROPERTIES TIMEOUT 120)
658-
set_tests_properties(test_auto_parallel_data_unshard_deprecated
659-
PROPERTIES TIMEOUT 120)
660-
set_tests_properties(test_auto_parallel_save_load_deprecated
661-
PROPERTIES TIMEOUT 120)
662-
endif()
663600

664601
set(TEST_CINN_OPS
665602
test_slice_op_deprecated test_layer_norm_op_deprecated

test/deprecated/legacy_test/test_auto_parallel_autoconvert_deprecated.py

-29
This file was deleted.

0 commit comments

Comments
 (0)