diff --git a/python/paddle/fluid/tests/unittests/CMakeLists.txt b/python/paddle/fluid/tests/unittests/CMakeLists.txt index a49e478072321efd076ede5477371145dffcf63a..1eb9e24eef8fbc07b39df1d6faa93690f27a11fd 100755 --- a/python/paddle/fluid/tests/unittests/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/CMakeLists.txt @@ -852,8 +852,6 @@ endif() add_subdirectory(ir) -add_subdirectory(standalone_executor) - set_tests_properties( test_buffer_shared_memory_reuse_pass_and_fuse_optimization_op_pass test_data_norm_op test_dataloader_keep_order test_dataloader_unkeep_order diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index b089f1e746f767bc637842648e320276cb9efd7f..d9d9cb5504f1cf5fda213c61ebffa656e72e74e8 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -123,7 +123,7 @@ if(WITH_TESTING) # add_subdirectory(rnn) add_subdirectory(rpc) # add_subdirectory(sequence) - # add_subdirectory(standalone_executor) + add_subdirectory(standalone_executor) # add_subdirectory(tokenizer) # add_subdirectory(white_list) add_subdirectory(xpu) diff --git a/python/paddle/fluid/tests/unittests/standalone_executor/CMakeLists.txt b/test/standalone_executor/CMakeLists.txt similarity index 100% rename from python/paddle/fluid/tests/unittests/standalone_executor/CMakeLists.txt rename to test/standalone_executor/CMakeLists.txt diff --git a/python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_controlflow.py b/test/standalone_executor/test_standalone_controlflow.py similarity index 100% rename from python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_controlflow.py rename to test/standalone_executor/test_standalone_controlflow.py diff --git a/python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_cross_step_overlap.py b/test/standalone_executor/test_standalone_cross_step_overlap.py similarity index 100% rename from python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_cross_step_overlap.py rename to test/standalone_executor/test_standalone_cross_step_overlap.py diff --git a/python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_cuda_graph_multi_stream.py b/test/standalone_executor/test_standalone_cuda_graph_multi_stream.py similarity index 97% rename from python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_cuda_graph_multi_stream.py rename to test/standalone_executor/test_standalone_cuda_graph_multi_stream.py index 51881410756a401d957f0f7074a560ebcfb7872b..f6deb87d1c602fc9ff3b7df263ccef957d61e527 100644 --- a/python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_cuda_graph_multi_stream.py +++ b/test/standalone_executor/test_standalone_cuda_graph_multi_stream.py @@ -21,7 +21,9 @@ import paddle from paddle.device.cuda.graphs import CUDAGraph sys.path.append("..") -from test_cuda_graph_static_mode import build_program +from paddle.fluid.tests.unittests.test_cuda_graph_static_mode import ( + build_program, +) paddle.enable_static() diff --git a/python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_custom_stream.py b/test/standalone_executor/test_standalone_custom_stream.py similarity index 100% rename from python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_custom_stream.py rename to test/standalone_executor/test_standalone_custom_stream.py diff --git a/python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_executor.py b/test/standalone_executor/test_standalone_executor.py similarity index 100% rename from python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_executor.py rename to test/standalone_executor/test_standalone_executor.py diff --git a/python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_executor_aot_choose_kernel.py b/test/standalone_executor/test_standalone_executor_aot_choose_kernel.py similarity index 100% rename from python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_executor_aot_choose_kernel.py rename to test/standalone_executor/test_standalone_executor_aot_choose_kernel.py diff --git a/python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_multiply_write.py b/test/standalone_executor/test_standalone_multiply_write.py similarity index 100% rename from python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_multiply_write.py rename to test/standalone_executor/test_standalone_multiply_write.py diff --git a/python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_op_priority.py b/test/standalone_executor/test_standalone_op_priority.py similarity index 100% rename from python/paddle/fluid/tests/unittests/standalone_executor/test_standalone_op_priority.py rename to test/standalone_executor/test_standalone_op_priority.py