diff --git a/python/paddle/fluid/tests/unittests/CMakeLists.txt b/python/paddle/fluid/tests/unittests/CMakeLists.txt index ff74d460977ba363b5d493f18d8847485c5a4ecf..0b0ca728aa95c9be2c78bc7e189a9bfdbfcb1f56 100755 --- a/python/paddle/fluid/tests/unittests/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/CMakeLists.txt @@ -790,8 +790,6 @@ if(WIN32) DEPS python) endif() -add_subdirectory(ir) - 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 8bbd59a7176fffc62f1dfda8d80291075ccae05e..7911a47ccfa51b13256d06d836f376171f2984a3 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -114,7 +114,7 @@ if(WITH_TESTING) if(WITH_IPU) add_subdirectory(ipu) endif() - # add_subdirectory(ir) + add_subdirectory(ir) add_subdirectory(legacy_test) if(WITH_MKLDNN) add_subdirectory(mkldnn) diff --git a/python/paddle/fluid/tests/unittests/ir/CMakeLists.txt b/test/ir/CMakeLists.txt similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/CMakeLists.txt rename to test/ir/CMakeLists.txt diff --git a/python/paddle/fluid/tests/unittests/ir/inference/CMakeLists.txt b/test/ir/inference/CMakeLists.txt similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/CMakeLists.txt rename to test/ir/inference/CMakeLists.txt diff --git a/python/paddle/fluid/tests/unittests/ir/inference/auto_scan_test.py b/test/ir/inference/auto_scan_test.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/auto_scan_test.py rename to test/ir/inference/auto_scan_test.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/inference_pass_test.py b/test/ir/inference/inference_pass_test.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/inference_pass_test.py rename to test/ir/inference/inference_pass_test.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/program_config.py b/test/ir/inference/program_config.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/program_config.py rename to test/ir/inference/program_config.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/quant_dequant_test.py b/test/ir/inference/quant_dequant_test.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/quant_dequant_test.py rename to test/ir/inference/quant_dequant_test.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_adaptive_pool2d_convert_global_pass_autoscan.py b/test/ir/inference/test_adaptive_pool2d_convert_global_pass_autoscan.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_adaptive_pool2d_convert_global_pass_autoscan.py rename to test/ir/inference/test_adaptive_pool2d_convert_global_pass_autoscan.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_conv_act_onednn_fuse_pass.py b/test/ir/inference/test_conv_act_onednn_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_conv_act_onednn_fuse_pass.py rename to test/ir/inference/test_conv_act_onednn_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_conv_bn_fuse_pass.py b/test/ir/inference/test_conv_bn_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_conv_bn_fuse_pass.py rename to test/ir/inference/test_conv_bn_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_conv_elementwise_add2_act_fuse_pass.py b/test/ir/inference/test_conv_elementwise_add2_act_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_conv_elementwise_add2_act_fuse_pass.py rename to test/ir/inference/test_conv_elementwise_add2_act_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_conv_elementwise_add_act_fuse_pass.py b/test/ir/inference/test_conv_elementwise_add_act_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_conv_elementwise_add_act_fuse_pass.py rename to test/ir/inference/test_conv_elementwise_add_act_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_conv_elementwise_add_fuse_pass.py b/test/ir/inference/test_conv_elementwise_add_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_conv_elementwise_add_fuse_pass.py rename to test/ir/inference/test_conv_elementwise_add_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_conv_eltwiseadd_bn_fuse_pass.py b/test/ir/inference/test_conv_eltwiseadd_bn_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_conv_eltwiseadd_bn_fuse_pass.py rename to test/ir/inference/test_conv_eltwiseadd_bn_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_conv_transpose_bn_fuse_pass.py b/test/ir/inference/test_conv_transpose_bn_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_conv_transpose_bn_fuse_pass.py rename to test/ir/inference/test_conv_transpose_bn_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_conv_transpose_eltwiseadd_bn_fuse_pass.py b/test/ir/inference/test_conv_transpose_eltwiseadd_bn_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_conv_transpose_eltwiseadd_bn_fuse_pass.py rename to test/ir/inference/test_conv_transpose_eltwiseadd_bn_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_cutlass_conv2d_fusion_op.py b/test/ir/inference/test_cutlass_conv2d_fusion_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_cutlass_conv2d_fusion_op.py rename to test/ir/inference/test_cutlass_conv2d_fusion_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_delete_c_identity_op_pass.py b/test/ir/inference/test_delete_c_identity_op_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_delete_c_identity_op_pass.py rename to test/ir/inference/test_delete_c_identity_op_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_element_groupnorm_act_fuse_pass.py b/test/ir/inference/test_element_groupnorm_act_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_element_groupnorm_act_fuse_pass.py rename to test/ir/inference/test_element_groupnorm_act_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_emb_eltwise_layernorm_fuse_pass.py b/test/ir/inference/test_emb_eltwise_layernorm_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_emb_eltwise_layernorm_fuse_pass.py rename to test/ir/inference/test_emb_eltwise_layernorm_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_fc_elementwise_layernorm_fuse_pass.py b/test/ir/inference/test_fc_elementwise_layernorm_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_fc_elementwise_layernorm_fuse_pass.py rename to test/ir/inference/test_fc_elementwise_layernorm_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_fc_fuse_pass.py b/test/ir/inference/test_fc_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_fc_fuse_pass.py rename to test/ir/inference/test_fc_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_flatten2_matmul_fuse_pass.py b/test/ir/inference/test_flatten2_matmul_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_flatten2_matmul_fuse_pass.py rename to test/ir/inference/test_flatten2_matmul_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_groupnorm_act_pass_fuse_pass.py b/test/ir/inference/test_groupnorm_act_pass_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_groupnorm_act_pass_fuse_pass.py rename to test/ir/inference/test_groupnorm_act_pass_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_identity_scale_clean_pass.py b/test/ir/inference/test_identity_scale_clean_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_identity_scale_clean_pass.py rename to test/ir/inference/test_identity_scale_clean_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_inference_predictor_run.py b/test/ir/inference/test_inference_predictor_run.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_inference_predictor_run.py rename to test/ir/inference/test_inference_predictor_run.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_inplace_op_pass.py b/test/ir/inference/test_inplace_op_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_inplace_op_pass.py rename to test/ir/inference/test_inplace_op_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_layer_norm_fuse_pass.py b/test/ir/inference/test_layer_norm_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_layer_norm_fuse_pass.py rename to test/ir/inference/test_layer_norm_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_layernorm_shift_partition_pass.py b/test/ir/inference/test_layernorm_shift_partition_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_layernorm_shift_partition_pass.py rename to test/ir/inference/test_layernorm_shift_partition_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_map_matmul_to_mul_pass.py b/test/ir/inference/test_map_matmul_to_mul_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_map_matmul_to_mul_pass.py rename to test/ir/inference/test_map_matmul_to_mul_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_map_matmul_v2_to_matmul_pass.py b/test/ir/inference/test_map_matmul_v2_to_matmul_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_map_matmul_v2_to_matmul_pass.py rename to test/ir/inference/test_map_matmul_v2_to_matmul_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_map_matmul_v2_to_mul_pass.py b/test/ir/inference/test_map_matmul_v2_to_mul_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_map_matmul_v2_to_mul_pass.py rename to test/ir/inference/test_map_matmul_v2_to_mul_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_matmul_scale_fuse_pass.py b/test/ir/inference/test_matmul_scale_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_matmul_scale_fuse_pass.py rename to test/ir/inference/test_matmul_scale_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_matmul_v2_scale_fuse_pass.py b/test/ir/inference/test_matmul_v2_scale_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_matmul_v2_scale_fuse_pass.py rename to test/ir/inference/test_matmul_v2_scale_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_merge_layernorm_fuse_pass.py b/test/ir/inference/test_merge_layernorm_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_merge_layernorm_fuse_pass.py rename to test/ir/inference/test_merge_layernorm_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv3d_bias_fuse_pass.py b/test/ir/inference/test_mkldnn_conv3d_bias_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv3d_bias_fuse_pass.py rename to test/ir/inference/test_mkldnn_conv3d_bias_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv3d_op.py b/test/ir/inference/test_mkldnn_conv3d_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv3d_op.py rename to test/ir/inference/test_mkldnn_conv3d_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv_affine_channel_fuse_pass.py b/test/ir/inference/test_mkldnn_conv_affine_channel_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv_affine_channel_fuse_pass.py rename to test/ir/inference/test_mkldnn_conv_affine_channel_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv_gelu_fuse_pass.py b/test/ir/inference/test_mkldnn_conv_gelu_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv_gelu_fuse_pass.py rename to test/ir/inference/test_mkldnn_conv_gelu_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv_hard_sigmoid_fuse_pass.py b/test/ir/inference/test_mkldnn_conv_hard_sigmoid_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv_hard_sigmoid_fuse_pass.py rename to test/ir/inference/test_mkldnn_conv_hard_sigmoid_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv_hard_swish_fuse_pass.py b/test/ir/inference/test_mkldnn_conv_hard_swish_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv_hard_swish_fuse_pass.py rename to test/ir/inference/test_mkldnn_conv_hard_swish_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv_mish_fuse_pass.py b/test/ir/inference/test_mkldnn_conv_mish_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv_mish_fuse_pass.py rename to test/ir/inference/test_mkldnn_conv_mish_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv_transpose_bias_fuse_pass.py b/test/ir/inference/test_mkldnn_conv_transpose_bias_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_conv_transpose_bias_fuse_pass.py rename to test/ir/inference/test_mkldnn_conv_transpose_bias_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_cpu_bfloat16_pass.py b/test/ir/inference/test_mkldnn_cpu_bfloat16_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_cpu_bfloat16_pass.py rename to test/ir/inference/test_mkldnn_cpu_bfloat16_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_depthwise_conv_pass.py b/test/ir/inference/test_mkldnn_depthwise_conv_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_depthwise_conv_pass.py rename to test/ir/inference/test_mkldnn_depthwise_conv_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_elt_act_fuse_pass.py b/test/ir/inference/test_mkldnn_elt_act_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_elt_act_fuse_pass.py rename to test/ir/inference/test_mkldnn_elt_act_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_int8_scale_calculation_pass.py b/test/ir/inference/test_mkldnn_int8_scale_calculation_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_int8_scale_calculation_pass.py rename to test/ir/inference/test_mkldnn_int8_scale_calculation_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_log_softmax_op.py b/test/ir/inference/test_mkldnn_log_softmax_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_log_softmax_op.py rename to test/ir/inference/test_mkldnn_log_softmax_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmul_activation_fuse_pass.py b/test/ir/inference/test_mkldnn_matmul_activation_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmul_activation_fuse_pass.py rename to test/ir/inference/test_mkldnn_matmul_activation_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmul_elementwise_add_activation_fuse_pass.py b/test/ir/inference/test_mkldnn_matmul_elementwise_add_activation_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmul_elementwise_add_activation_fuse_pass.py rename to test/ir/inference/test_mkldnn_matmul_elementwise_add_activation_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmul_elementwise_add_fuse_pass.py b/test/ir/inference/test_mkldnn_matmul_elementwise_add_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmul_elementwise_add_fuse_pass.py rename to test/ir/inference/test_mkldnn_matmul_elementwise_add_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmul_op_output_fuse_pass.py b/test/ir/inference/test_mkldnn_matmul_op_output_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmul_op_output_fuse_pass.py rename to test/ir/inference/test_mkldnn_matmul_op_output_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmul_v2_activation_fuse_pass.py b/test/ir/inference/test_mkldnn_matmul_v2_activation_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmul_v2_activation_fuse_pass.py rename to test/ir/inference/test_mkldnn_matmul_v2_activation_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmul_v2_elementwise_add_fuse_pass.py b/test/ir/inference/test_mkldnn_matmul_v2_elementwise_add_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmul_v2_elementwise_add_fuse_pass.py rename to test/ir/inference/test_mkldnn_matmul_v2_elementwise_add_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmul_v2_transpose_reshape_fuse_pass.py b/test/ir/inference/test_mkldnn_matmul_v2_transpose_reshape_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmul_v2_transpose_reshape_fuse_pass.py rename to test/ir/inference/test_mkldnn_matmul_v2_transpose_reshape_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmulv2_op.py b/test/ir/inference/test_mkldnn_matmulv2_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_matmulv2_op.py rename to test/ir/inference/test_mkldnn_matmulv2_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_mish_op.py b/test/ir/inference/test_mkldnn_mish_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_mish_op.py rename to test/ir/inference/test_mkldnn_mish_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_pad2d_op.py b/test/ir/inference/test_mkldnn_pad2d_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_pad2d_op.py rename to test/ir/inference/test_mkldnn_pad2d_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_pad3d_op.py b/test/ir/inference/test_mkldnn_pad3d_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_pad3d_op.py rename to test/ir/inference/test_mkldnn_pad3d_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_prelu_op.py b/test/ir/inference/test_mkldnn_prelu_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_prelu_op.py rename to test/ir/inference/test_mkldnn_prelu_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_reshape_transpose_matmul_v2_fuse_pass.py b/test/ir/inference/test_mkldnn_reshape_transpose_matmul_v2_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_reshape_transpose_matmul_v2_fuse_pass.py rename to test/ir/inference/test_mkldnn_reshape_transpose_matmul_v2_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_scale_matmul_fuse_pass.py b/test/ir/inference/test_mkldnn_scale_matmul_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_scale_matmul_fuse_pass.py rename to test/ir/inference/test_mkldnn_scale_matmul_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_shape_op.py b/test/ir/inference/test_mkldnn_shape_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_shape_op.py rename to test/ir/inference/test_mkldnn_shape_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_shuffle_channel_detect_pass.py b/test/ir/inference/test_mkldnn_shuffle_channel_detect_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_shuffle_channel_detect_pass.py rename to test/ir/inference/test_mkldnn_shuffle_channel_detect_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_shuffle_channel_op.py b/test/ir/inference/test_mkldnn_shuffle_channel_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mkldnn_shuffle_channel_op.py rename to test/ir/inference/test_mkldnn_shuffle_channel_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mul_gru_fuse_pass.py b/test/ir/inference/test_mul_gru_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mul_gru_fuse_pass.py rename to test/ir/inference/test_mul_gru_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_mul_lstm_fuse_pass.py b/test/ir/inference/test_mul_lstm_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_mul_lstm_fuse_pass.py rename to test/ir/inference/test_mul_lstm_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_multihead_matmul_fuse_pass_v3.py b/test/ir/inference/test_multihead_matmul_fuse_pass_v3.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_multihead_matmul_fuse_pass_v3.py rename to test/ir/inference/test_multihead_matmul_fuse_pass_v3.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_multihead_matmul_roformer_fuse_pass.py b/test/ir/inference/test_multihead_matmul_roformer_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_multihead_matmul_roformer_fuse_pass.py rename to test/ir/inference/test_multihead_matmul_roformer_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_batch_norm_act_fuse_pass.py b/test/ir/inference/test_onednn_batch_norm_act_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_batch_norm_act_fuse_pass.py rename to test/ir/inference/test_onednn_batch_norm_act_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_conv_bias_fuse_pass.py b/test/ir/inference/test_onednn_conv_bias_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_conv_bias_fuse_pass.py rename to test/ir/inference/test_onednn_conv_bias_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_conv_bn_fuse_pass.py b/test/ir/inference/test_onednn_conv_bn_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_conv_bn_fuse_pass.py rename to test/ir/inference/test_onednn_conv_bn_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_conv_concat_activation_fuse_pass.py b/test/ir/inference/test_onednn_conv_concat_activation_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_conv_concat_activation_fuse_pass.py rename to test/ir/inference/test_onednn_conv_concat_activation_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_conv_elementwise_add_fuse_pass.py b/test/ir/inference/test_onednn_conv_elementwise_add_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_conv_elementwise_add_fuse_pass.py rename to test/ir/inference/test_onednn_conv_elementwise_add_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_elementwise_add_activation_fuse_pass.py b/test/ir/inference/test_onednn_elementwise_add_activation_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_elementwise_add_activation_fuse_pass.py rename to test/ir/inference/test_onednn_elementwise_add_activation_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_fc_activation_fuse_pass.py b/test/ir/inference/test_onednn_fc_activation_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_fc_activation_fuse_pass.py rename to test/ir/inference/test_onednn_fc_activation_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_fc_elementwise_add_fuse_pass.py b/test/ir/inference/test_onednn_fc_elementwise_add_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_fc_elementwise_add_fuse_pass.py rename to test/ir/inference/test_onednn_fc_elementwise_add_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_fc_gru_fuse_pass.py b/test/ir/inference/test_onednn_fc_gru_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_fc_gru_fuse_pass.py rename to test/ir/inference/test_onednn_fc_gru_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_fc_lstm_fuse_pass.py b/test/ir/inference/test_onednn_fc_lstm_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_fc_lstm_fuse_pass.py rename to test/ir/inference/test_onednn_fc_lstm_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_matmul_transpose_reshape_fuse_pass.py b/test/ir/inference/test_onednn_matmul_transpose_reshape_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_matmul_transpose_reshape_fuse_pass.py rename to test/ir/inference/test_onednn_matmul_transpose_reshape_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_multi_gru_fuse_pass.py b/test/ir/inference/test_onednn_multi_gru_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_multi_gru_fuse_pass.py rename to test/ir/inference/test_onednn_multi_gru_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_multi_gru_seq_fuse_pass.py b/test/ir/inference/test_onednn_multi_gru_seq_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_multi_gru_seq_fuse_pass.py rename to test/ir/inference/test_onednn_multi_gru_seq_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_operator_reshape2_fuse_pass.py b/test/ir/inference/test_onednn_operator_reshape2_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_operator_reshape2_fuse_pass.py rename to test/ir/inference/test_onednn_operator_reshape2_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_operator_unsqueeze2_fuse_pass.py b/test/ir/inference/test_onednn_operator_unsqueeze2_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_operator_unsqueeze2_fuse_pass.py rename to test/ir/inference/test_onednn_operator_unsqueeze2_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_quant_transpose_dequant_fuse_pass.py b/test/ir/inference/test_onednn_quant_transpose_dequant_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_quant_transpose_dequant_fuse_pass.py rename to test/ir/inference/test_onednn_quant_transpose_dequant_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_reshape_transpose_matmul_fuse_pass.py b/test/ir/inference/test_onednn_reshape_transpose_matmul_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_reshape_transpose_matmul_fuse_pass.py rename to test/ir/inference/test_onednn_reshape_transpose_matmul_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_softplus_activation_fuse_pass.py b/test/ir/inference/test_onednn_softplus_activation_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_softplus_activation_fuse_pass.py rename to test/ir/inference/test_onednn_softplus_activation_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_onednn_squeeze2_transpose2_fuse_pass.py b/test/ir/inference/test_onednn_squeeze2_transpose2_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_onednn_squeeze2_transpose2_fuse_pass.py rename to test/ir/inference/test_onednn_squeeze2_transpose2_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_preln_groupnorm_act_fuse_pass.py b/test/ir/inference/test_preln_groupnorm_act_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_preln_groupnorm_act_fuse_pass.py rename to test/ir/inference/test_preln_groupnorm_act_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_preln_layernorm_x_fuse_pass.py b/test/ir/inference/test_preln_layernorm_x_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_preln_layernorm_x_fuse_pass.py rename to test/ir/inference/test_preln_layernorm_x_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_repeated_fc_relu_fuse_pass.py b/test/ir/inference/test_repeated_fc_relu_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_repeated_fc_relu_fuse_pass.py rename to test/ir/inference/test_repeated_fc_relu_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_reshape2_matmul_fuse_pass.py b/test/ir/inference/test_reshape2_matmul_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_reshape2_matmul_fuse_pass.py rename to test/ir/inference/test_reshape2_matmul_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_reverse_roll_fuse_pass.py b/test/ir/inference/test_reverse_roll_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_reverse_roll_fuse_pass.py rename to test/ir/inference/test_reverse_roll_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_seq_concat_fc_fuse_pass.py b/test/ir/inference/test_seq_concat_fc_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_seq_concat_fc_fuse_pass.py rename to test/ir/inference/test_seq_concat_fc_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_seqconv_eltadd_relu_fuse_pass.py b/test/ir/inference/test_seqconv_eltadd_relu_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_seqconv_eltadd_relu_fuse_pass.py rename to test/ir/inference/test_seqconv_eltadd_relu_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_seqpool_cvm_concat_fuse_pass_py.py b/test/ir/inference/test_seqpool_cvm_concat_fuse_pass_py.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_seqpool_cvm_concat_fuse_pass_py.py rename to test/ir/inference/test_seqpool_cvm_concat_fuse_pass_py.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_shuffle_channel_detect_pass.py b/test/ir/inference/test_shuffle_channel_detect_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_shuffle_channel_detect_pass.py rename to test/ir/inference/test_shuffle_channel_detect_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_simplify_with_basic_ops_pass_autoscan.py b/test/ir/inference/test_simplify_with_basic_ops_pass_autoscan.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_simplify_with_basic_ops_pass_autoscan.py rename to test/ir/inference/test_simplify_with_basic_ops_pass_autoscan.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_skip_merge_layernorm_fuse_pass.py b/test/ir/inference/test_skip_merge_layernorm_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_skip_merge_layernorm_fuse_pass.py rename to test/ir/inference/test_skip_merge_layernorm_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_split_layernorm_to_math_ops_pass.py b/test/ir/inference/test_split_layernorm_to_math_ops_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_split_layernorm_to_math_ops_pass.py rename to test/ir/inference/test_split_layernorm_to_math_ops_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_squared_mat_sub_fuse_pass.py b/test/ir/inference/test_squared_mat_sub_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_squared_mat_sub_fuse_pass.py rename to test/ir/inference/test_squared_mat_sub_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_squeeze2_matmul_fuse_pass.py b/test/ir/inference/test_squeeze2_matmul_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_squeeze2_matmul_fuse_pass.py rename to test/ir/inference/test_squeeze2_matmul_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_transpose_flatten_concat_fuse_pass.py b/test/ir/inference/test_transpose_flatten_concat_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_transpose_flatten_concat_fuse_pass.py rename to test/ir/inference/test_transpose_flatten_concat_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_activation_pass.py b/test/ir/inference/test_trt_activation_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_activation_pass.py rename to test/ir/inference/test_trt_activation_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_c_allreduce_infer_script.py b/test/ir/inference/test_trt_c_allreduce_infer_script.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_c_allreduce_infer_script.py rename to test/ir/inference/test_trt_c_allreduce_infer_script.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_conv3d_op.py b/test/ir/inference/test_trt_conv3d_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_conv3d_op.py rename to test/ir/inference/test_trt_conv3d_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_conv3d_transpose_op.py b/test/ir/inference/test_trt_conv3d_transpose_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_conv3d_transpose_op.py rename to test/ir/inference/test_trt_conv3d_transpose_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_conv_pass.py b/test/ir/inference/test_trt_conv_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_conv_pass.py rename to test/ir/inference/test_trt_conv_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_conv_quant_dequant_pass.py b/test/ir/inference/test_trt_conv_quant_dequant_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_conv_quant_dequant_pass.py rename to test/ir/inference/test_trt_conv_quant_dequant_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_activation.py b/test/ir/inference/test_trt_convert_activation.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_activation.py rename to test/ir/inference/test_trt_convert_activation.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_affine_channel.py b/test/ir/inference/test_trt_convert_affine_channel.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_affine_channel.py rename to test/ir/inference/test_trt_convert_affine_channel.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_anchor_generator.py b/test/ir/inference/test_trt_convert_anchor_generator.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_anchor_generator.py rename to test/ir/inference/test_trt_convert_anchor_generator.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_arg_max.py b/test/ir/inference/test_trt_convert_arg_max.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_arg_max.py rename to test/ir/inference/test_trt_convert_arg_max.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_arg_min.py b/test/ir/inference/test_trt_convert_arg_min.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_arg_min.py rename to test/ir/inference/test_trt_convert_arg_min.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_batch_norm.py b/test/ir/inference/test_trt_convert_batch_norm.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_batch_norm.py rename to test/ir/inference/test_trt_convert_batch_norm.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_bilinear_interp_v2.py b/test/ir/inference/test_trt_convert_bilinear_interp_v2.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_bilinear_interp_v2.py rename to test/ir/inference/test_trt_convert_bilinear_interp_v2.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_bitwise_not.py b/test/ir/inference/test_trt_convert_bitwise_not.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_bitwise_not.py rename to test/ir/inference/test_trt_convert_bitwise_not.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_bmm.py b/test/ir/inference/test_trt_convert_bmm.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_bmm.py rename to test/ir/inference/test_trt_convert_bmm.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_c_allreduce.py b/test/ir/inference/test_trt_convert_c_allreduce.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_c_allreduce.py rename to test/ir/inference/test_trt_convert_c_allreduce.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_cast.py b/test/ir/inference/test_trt_convert_cast.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_cast.py rename to test/ir/inference/test_trt_convert_cast.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_celu.py b/test/ir/inference/test_trt_convert_celu.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_celu.py rename to test/ir/inference/test_trt_convert_celu.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_clip.py b/test/ir/inference/test_trt_convert_clip.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_clip.py rename to test/ir/inference/test_trt_convert_clip.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_compare_and_logical.py b/test/ir/inference/test_trt_convert_compare_and_logical.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_compare_and_logical.py rename to test/ir/inference/test_trt_convert_compare_and_logical.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_concat.py b/test/ir/inference/test_trt_convert_concat.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_concat.py rename to test/ir/inference/test_trt_convert_concat.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_conv2d.py b/test/ir/inference/test_trt_convert_conv2d.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_conv2d.py rename to test/ir/inference/test_trt_convert_conv2d.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_conv2d_fusion.py b/test/ir/inference/test_trt_convert_conv2d_fusion.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_conv2d_fusion.py rename to test/ir/inference/test_trt_convert_conv2d_fusion.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_conv2d_transpose.py b/test/ir/inference/test_trt_convert_conv2d_transpose.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_conv2d_transpose.py rename to test/ir/inference/test_trt_convert_conv2d_transpose.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_conv3d_transpose.py b/test/ir/inference/test_trt_convert_conv3d_transpose.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_conv3d_transpose.py rename to test/ir/inference/test_trt_convert_conv3d_transpose.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_cross_multihead_matmul.py b/test/ir/inference/test_trt_convert_cross_multihead_matmul.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_cross_multihead_matmul.py rename to test/ir/inference/test_trt_convert_cross_multihead_matmul.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_cumsum.py b/test/ir/inference/test_trt_convert_cumsum.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_cumsum.py rename to test/ir/inference/test_trt_convert_cumsum.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_deformable_conv.py b/test/ir/inference/test_trt_convert_deformable_conv.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_deformable_conv.py rename to test/ir/inference/test_trt_convert_deformable_conv.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_depthwise_conv2d.py b/test/ir/inference/test_trt_convert_depthwise_conv2d.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_depthwise_conv2d.py rename to test/ir/inference/test_trt_convert_depthwise_conv2d.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_depthwise_conv2d_transpose.py b/test/ir/inference/test_trt_convert_depthwise_conv2d_transpose.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_depthwise_conv2d_transpose.py rename to test/ir/inference/test_trt_convert_depthwise_conv2d_transpose.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_dropout.py b/test/ir/inference/test_trt_convert_dropout.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_dropout.py rename to test/ir/inference/test_trt_convert_dropout.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_elementwise.py b/test/ir/inference/test_trt_convert_elementwise.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_elementwise.py rename to test/ir/inference/test_trt_convert_elementwise.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_elementwiseadd_transpose.py b/test/ir/inference/test_trt_convert_elementwiseadd_transpose.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_elementwiseadd_transpose.py rename to test/ir/inference/test_trt_convert_elementwiseadd_transpose.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_emb_eltwise_layernorm.py b/test/ir/inference/test_trt_convert_emb_eltwise_layernorm.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_emb_eltwise_layernorm.py rename to test/ir/inference/test_trt_convert_emb_eltwise_layernorm.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_equal.py b/test/ir/inference/test_trt_convert_equal.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_equal.py rename to test/ir/inference/test_trt_convert_equal.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_expand_as_v2.py b/test/ir/inference/test_trt_convert_expand_as_v2.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_expand_as_v2.py rename to test/ir/inference/test_trt_convert_expand_as_v2.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_expand_v2.py b/test/ir/inference/test_trt_convert_expand_v2.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_expand_v2.py rename to test/ir/inference/test_trt_convert_expand_v2.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_fill_any_like.py b/test/ir/inference/test_trt_convert_fill_any_like.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_fill_any_like.py rename to test/ir/inference/test_trt_convert_fill_any_like.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_fill_constant.py b/test/ir/inference/test_trt_convert_fill_constant.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_fill_constant.py rename to test/ir/inference/test_trt_convert_fill_constant.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_flash_multihead_matmul.py b/test/ir/inference/test_trt_convert_flash_multihead_matmul.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_flash_multihead_matmul.py rename to test/ir/inference/test_trt_convert_flash_multihead_matmul.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_flatten.py b/test/ir/inference/test_trt_convert_flatten.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_flatten.py rename to test/ir/inference/test_trt_convert_flatten.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_flatten_contiguous_range.py b/test/ir/inference/test_trt_convert_flatten_contiguous_range.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_flatten_contiguous_range.py rename to test/ir/inference/test_trt_convert_flatten_contiguous_range.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_fused_token_prune.py b/test/ir/inference/test_trt_convert_fused_token_prune.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_fused_token_prune.py rename to test/ir/inference/test_trt_convert_fused_token_prune.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_gather.py b/test/ir/inference/test_trt_convert_gather.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_gather.py rename to test/ir/inference/test_trt_convert_gather.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_gather_nd.py b/test/ir/inference/test_trt_convert_gather_nd.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_gather_nd.py rename to test/ir/inference/test_trt_convert_gather_nd.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_gelu.py b/test/ir/inference/test_trt_convert_gelu.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_gelu.py rename to test/ir/inference/test_trt_convert_gelu.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_grid_sampler.py b/test/ir/inference/test_trt_convert_grid_sampler.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_grid_sampler.py rename to test/ir/inference/test_trt_convert_grid_sampler.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_group_norm.py b/test/ir/inference/test_trt_convert_group_norm.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_group_norm.py rename to test/ir/inference/test_trt_convert_group_norm.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_hard_sigmoid.py b/test/ir/inference/test_trt_convert_hard_sigmoid.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_hard_sigmoid.py rename to test/ir/inference/test_trt_convert_hard_sigmoid.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_hard_swish.py b/test/ir/inference/test_trt_convert_hard_swish.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_hard_swish.py rename to test/ir/inference/test_trt_convert_hard_swish.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_index_select.py b/test/ir/inference/test_trt_convert_index_select.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_index_select.py rename to test/ir/inference/test_trt_convert_index_select.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_instance_norm.py b/test/ir/inference/test_trt_convert_instance_norm.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_instance_norm.py rename to test/ir/inference/test_trt_convert_instance_norm.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_inverse.py b/test/ir/inference/test_trt_convert_inverse.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_inverse.py rename to test/ir/inference/test_trt_convert_inverse.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_layer_norm.py b/test/ir/inference/test_trt_convert_layer_norm.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_layer_norm.py rename to test/ir/inference/test_trt_convert_layer_norm.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_leaky_relu.py b/test/ir/inference/test_trt_convert_leaky_relu.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_leaky_relu.py rename to test/ir/inference/test_trt_convert_leaky_relu.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_logsigmoid.py b/test/ir/inference/test_trt_convert_logsigmoid.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_logsigmoid.py rename to test/ir/inference/test_trt_convert_logsigmoid.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_matmul.py b/test/ir/inference/test_trt_convert_matmul.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_matmul.py rename to test/ir/inference/test_trt_convert_matmul.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_matmul_v2.py b/test/ir/inference/test_trt_convert_matmul_v2.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_matmul_v2.py rename to test/ir/inference/test_trt_convert_matmul_v2.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_mish.py b/test/ir/inference/test_trt_convert_mish.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_mish.py rename to test/ir/inference/test_trt_convert_mish.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_multiclass_nms.py b/test/ir/inference/test_trt_convert_multiclass_nms.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_multiclass_nms.py rename to test/ir/inference/test_trt_convert_multiclass_nms.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_multiclass_nms3.py b/test/ir/inference/test_trt_convert_multiclass_nms3.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_multiclass_nms3.py rename to test/ir/inference/test_trt_convert_multiclass_nms3.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_multihead_matmul.py b/test/ir/inference/test_trt_convert_multihead_matmul.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_multihead_matmul.py rename to test/ir/inference/test_trt_convert_multihead_matmul.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_multihead_matmul_roformer.py b/test/ir/inference/test_trt_convert_multihead_matmul_roformer.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_multihead_matmul_roformer.py rename to test/ir/inference/test_trt_convert_multihead_matmul_roformer.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_nearest_interp.py b/test/ir/inference/test_trt_convert_nearest_interp.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_nearest_interp.py rename to test/ir/inference/test_trt_convert_nearest_interp.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_nearest_interp_v2.py b/test/ir/inference/test_trt_convert_nearest_interp_v2.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_nearest_interp_v2.py rename to test/ir/inference/test_trt_convert_nearest_interp_v2.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_one_hot.py b/test/ir/inference/test_trt_convert_one_hot.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_one_hot.py rename to test/ir/inference/test_trt_convert_one_hot.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_pad.py b/test/ir/inference/test_trt_convert_pad.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_pad.py rename to test/ir/inference/test_trt_convert_pad.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_pad3d.py b/test/ir/inference/test_trt_convert_pad3d.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_pad3d.py rename to test/ir/inference/test_trt_convert_pad3d.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_pool2d.py b/test/ir/inference/test_trt_convert_pool2d.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_pool2d.py rename to test/ir/inference/test_trt_convert_pool2d.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_preln_residual_bias.py b/test/ir/inference/test_trt_convert_preln_residual_bias.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_preln_residual_bias.py rename to test/ir/inference/test_trt_convert_preln_residual_bias.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_preln_residual_no_bias.py b/test/ir/inference/test_trt_convert_preln_residual_no_bias.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_preln_residual_no_bias.py rename to test/ir/inference/test_trt_convert_preln_residual_no_bias.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_prelu.py b/test/ir/inference/test_trt_convert_prelu.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_prelu.py rename to test/ir/inference/test_trt_convert_prelu.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_qk_multihead_matmul.py b/test/ir/inference/test_trt_convert_qk_multihead_matmul.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_qk_multihead_matmul.py rename to test/ir/inference/test_trt_convert_qk_multihead_matmul.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_range.py b/test/ir/inference/test_trt_convert_range.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_range.py rename to test/ir/inference/test_trt_convert_range.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_reduce.py b/test/ir/inference/test_trt_convert_reduce.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_reduce.py rename to test/ir/inference/test_trt_convert_reduce.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_reshape.py b/test/ir/inference/test_trt_convert_reshape.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_reshape.py rename to test/ir/inference/test_trt_convert_reshape.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_rnn.py b/test/ir/inference/test_trt_convert_rnn.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_rnn.py rename to test/ir/inference/test_trt_convert_rnn.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_roi_align.py b/test/ir/inference/test_trt_convert_roi_align.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_roi_align.py rename to test/ir/inference/test_trt_convert_roi_align.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_roll.py b/test/ir/inference/test_trt_convert_roll.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_roll.py rename to test/ir/inference/test_trt_convert_roll.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_scale.py b/test/ir/inference/test_trt_convert_scale.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_scale.py rename to test/ir/inference/test_trt_convert_scale.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_scatter_nd_add.py b/test/ir/inference/test_trt_convert_scatter_nd_add.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_scatter_nd_add.py rename to test/ir/inference/test_trt_convert_scatter_nd_add.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_set_value.py b/test/ir/inference/test_trt_convert_set_value.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_set_value.py rename to test/ir/inference/test_trt_convert_set_value.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_shape.py b/test/ir/inference/test_trt_convert_shape.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_shape.py rename to test/ir/inference/test_trt_convert_shape.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_shuffle_channel.py b/test/ir/inference/test_trt_convert_shuffle_channel.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_shuffle_channel.py rename to test/ir/inference/test_trt_convert_shuffle_channel.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_silu.py b/test/ir/inference/test_trt_convert_silu.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_silu.py rename to test/ir/inference/test_trt_convert_silu.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_slice.py b/test/ir/inference/test_trt_convert_slice.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_slice.py rename to test/ir/inference/test_trt_convert_slice.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_softmax.py b/test/ir/inference/test_trt_convert_softmax.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_softmax.py rename to test/ir/inference/test_trt_convert_softmax.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_split.py b/test/ir/inference/test_trt_convert_split.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_split.py rename to test/ir/inference/test_trt_convert_split.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_square.py b/test/ir/inference/test_trt_convert_square.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_square.py rename to test/ir/inference/test_trt_convert_square.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_squeeze2.py b/test/ir/inference/test_trt_convert_squeeze2.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_squeeze2.py rename to test/ir/inference/test_trt_convert_squeeze2.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_stack.py b/test/ir/inference/test_trt_convert_stack.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_stack.py rename to test/ir/inference/test_trt_convert_stack.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_strided_slice.py b/test/ir/inference/test_trt_convert_strided_slice.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_strided_slice.py rename to test/ir/inference/test_trt_convert_strided_slice.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_sum.py b/test/ir/inference/test_trt_convert_sum.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_sum.py rename to test/ir/inference/test_trt_convert_sum.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_swish.py b/test/ir/inference/test_trt_convert_swish.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_swish.py rename to test/ir/inference/test_trt_convert_swish.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_take_along_axis.py b/test/ir/inference/test_trt_convert_take_along_axis.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_take_along_axis.py rename to test/ir/inference/test_trt_convert_take_along_axis.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_tanhshrink.py b/test/ir/inference/test_trt_convert_tanhshrink.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_tanhshrink.py rename to test/ir/inference/test_trt_convert_tanhshrink.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_temporal_shift.py b/test/ir/inference/test_trt_convert_temporal_shift.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_temporal_shift.py rename to test/ir/inference/test_trt_convert_temporal_shift.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_tile.py b/test/ir/inference/test_trt_convert_tile.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_tile.py rename to test/ir/inference/test_trt_convert_tile.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_top_k.py b/test/ir/inference/test_trt_convert_top_k.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_top_k.py rename to test/ir/inference/test_trt_convert_top_k.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_top_k_v2.py b/test/ir/inference/test_trt_convert_top_k_v2.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_top_k_v2.py rename to test/ir/inference/test_trt_convert_top_k_v2.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_trans_layernorm.py b/test/ir/inference/test_trt_convert_trans_layernorm.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_trans_layernorm.py rename to test/ir/inference/test_trt_convert_trans_layernorm.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_transpose.py b/test/ir/inference/test_trt_convert_transpose.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_transpose.py rename to test/ir/inference/test_trt_convert_transpose.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_unary.py b/test/ir/inference/test_trt_convert_unary.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_unary.py rename to test/ir/inference/test_trt_convert_unary.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_unfold.py b/test/ir/inference/test_trt_convert_unfold.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_unfold.py rename to test/ir/inference/test_trt_convert_unfold.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_unsqueeze2.py b/test/ir/inference/test_trt_convert_unsqueeze2.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_unsqueeze2.py rename to test/ir/inference/test_trt_convert_unsqueeze2.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_where.py b/test/ir/inference/test_trt_convert_where.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_where.py rename to test/ir/inference/test_trt_convert_where.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_yolo_box.py b/test/ir/inference/test_trt_convert_yolo_box.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_yolo_box.py rename to test/ir/inference/test_trt_convert_yolo_box.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_yolo_box_head.py b/test/ir/inference/test_trt_convert_yolo_box_head.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_yolo_box_head.py rename to test/ir/inference/test_trt_convert_yolo_box_head.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_deformable_conv.py b/test/ir/inference/test_trt_deformable_conv.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_deformable_conv.py rename to test/ir/inference/test_trt_deformable_conv.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_dynamic_shape.py b/test/ir/inference/test_trt_dynamic_shape.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_dynamic_shape.py rename to test/ir/inference/test_trt_dynamic_shape.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_elementwise_op.py b/test/ir/inference/test_trt_elementwise_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_elementwise_op.py rename to test/ir/inference/test_trt_elementwise_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_fc_fuse_pass.py b/test/ir/inference/test_trt_fc_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_fc_fuse_pass.py rename to test/ir/inference/test_trt_fc_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_fc_fuse_quant_dequant_pass.py b/test/ir/inference/test_trt_fc_fuse_quant_dequant_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_fc_fuse_quant_dequant_pass.py rename to test/ir/inference/test_trt_fc_fuse_quant_dequant_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_flatten_op.py b/test/ir/inference/test_trt_flatten_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_flatten_op.py rename to test/ir/inference/test_trt_flatten_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_gather_nd_op.py b/test/ir/inference/test_trt_gather_nd_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_gather_nd_op.py rename to test/ir/inference/test_trt_gather_nd_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_gather_op.py b/test/ir/inference/test_trt_gather_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_gather_op.py rename to test/ir/inference/test_trt_gather_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_inference_predictor.py b/test/ir/inference/test_trt_inference_predictor.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_inference_predictor.py rename to test/ir/inference/test_trt_inference_predictor.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_inspector.py b/test/ir/inference/test_trt_inspector.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_inspector.py rename to test/ir/inference/test_trt_inspector.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_instance_norm_op.py b/test/ir/inference/test_trt_instance_norm_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_instance_norm_op.py rename to test/ir/inference/test_trt_instance_norm_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_int64.py b/test/ir/inference/test_trt_int64.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_int64.py rename to test/ir/inference/test_trt_int64.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_matmul.py b/test/ir/inference/test_trt_matmul.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_matmul.py rename to test/ir/inference/test_trt_matmul.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_matmul_quant_dequant.py b/test/ir/inference/test_trt_matmul_quant_dequant.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_matmul_quant_dequant.py rename to test/ir/inference/test_trt_matmul_quant_dequant.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_multiclass_nms3_op.py b/test/ir/inference/test_trt_multiclass_nms3_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_multiclass_nms3_op.py rename to test/ir/inference/test_trt_multiclass_nms3_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_nearest_interp_op.py b/test/ir/inference/test_trt_nearest_interp_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_nearest_interp_op.py rename to test/ir/inference/test_trt_nearest_interp_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_nearest_interp_v2_op.py b/test/ir/inference/test_trt_nearest_interp_v2_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_nearest_interp_v2_op.py rename to test/ir/inference/test_trt_nearest_interp_v2_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_pad_op.py b/test/ir/inference/test_trt_pad_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_pad_op.py rename to test/ir/inference/test_trt_pad_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_pool3d_op.py b/test/ir/inference/test_trt_pool3d_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_pool3d_op.py rename to test/ir/inference/test_trt_pool3d_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_pool_op.py b/test/ir/inference/test_trt_pool_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_pool_op.py rename to test/ir/inference/test_trt_pool_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_reduce_sum_op.py b/test/ir/inference/test_trt_reduce_sum_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_reduce_sum_op.py rename to test/ir/inference/test_trt_reduce_sum_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_reshape_op.py b/test/ir/inference/test_trt_reshape_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_reshape_op.py rename to test/ir/inference/test_trt_reshape_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_scale_op.py b/test/ir/inference/test_trt_scale_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_scale_op.py rename to test/ir/inference/test_trt_scale_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_shuffle_channel_detect_pass.py b/test/ir/inference/test_trt_shuffle_channel_detect_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_shuffle_channel_detect_pass.py rename to test/ir/inference/test_trt_shuffle_channel_detect_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_skip_layernorm_fuse_pass.py b/test/ir/inference/test_trt_skip_layernorm_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_skip_layernorm_fuse_pass.py rename to test/ir/inference/test_trt_skip_layernorm_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_slice_dynamic_plugin.py b/test/ir/inference/test_trt_slice_dynamic_plugin.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_slice_dynamic_plugin.py rename to test/ir/inference/test_trt_slice_dynamic_plugin.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_slice_plugin.py b/test/ir/inference/test_trt_slice_plugin.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_slice_plugin.py rename to test/ir/inference/test_trt_slice_plugin.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_subgraph_pass.py b/test/ir/inference/test_trt_subgraph_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_subgraph_pass.py rename to test/ir/inference/test_trt_subgraph_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_support_nhwc_pass.py b/test/ir/inference/test_trt_support_nhwc_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_support_nhwc_pass.py rename to test/ir/inference/test_trt_support_nhwc_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_tile_op.py b/test/ir/inference/test_trt_tile_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_tile_op.py rename to test/ir/inference/test_trt_tile_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_transpose_flatten_concat_fuse_pass.py b/test/ir/inference/test_trt_transpose_flatten_concat_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_transpose_flatten_concat_fuse_pass.py rename to test/ir/inference/test_trt_transpose_flatten_concat_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_tuned_dynamic_shape.py b/test/ir/inference/test_trt_tuned_dynamic_shape.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_tuned_dynamic_shape.py rename to test/ir/inference/test_trt_tuned_dynamic_shape.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_trt_yolo_box_op.py b/test/ir/inference/test_trt_yolo_box_op.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_trt_yolo_box_op.py rename to test/ir/inference/test_trt_yolo_box_op.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_unsqueeze2_eltwise_fuse_pass.py b/test/ir/inference/test_unsqueeze2_eltwise_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_unsqueeze2_eltwise_fuse_pass.py rename to test/ir/inference/test_unsqueeze2_eltwise_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_xpu_conv2d_fuse_pass.py b/test/ir/inference/test_xpu_conv2d_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_xpu_conv2d_fuse_pass.py rename to test/ir/inference/test_xpu_conv2d_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_xpu_convert_mixed_precision.py b/test/ir/inference/test_xpu_convert_mixed_precision.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_xpu_convert_mixed_precision.py rename to test/ir/inference/test_xpu_convert_mixed_precision.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_xpu_delete_concat_op_pass.py b/test/ir/inference/test_xpu_delete_concat_op_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_xpu_delete_concat_op_pass.py rename to test/ir/inference/test_xpu_delete_concat_op_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_xpu_delete_dropout_op_pass.py b/test/ir/inference/test_xpu_delete_dropout_op_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_xpu_delete_dropout_op_pass.py rename to test/ir/inference/test_xpu_delete_dropout_op_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_xpu_delete_elementwise_mul_op_pass.py b/test/ir/inference/test_xpu_delete_elementwise_mul_op_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_xpu_delete_elementwise_mul_op_pass.py rename to test/ir/inference/test_xpu_delete_elementwise_mul_op_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_xpu_delete_repeated_ops_pass.py b/test/ir/inference/test_xpu_delete_repeated_ops_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_xpu_delete_repeated_ops_pass.py rename to test/ir/inference/test_xpu_delete_repeated_ops_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_xpu_embedding_with_eltwise_add_xpu_fuse_pass.py b/test/ir/inference/test_xpu_embedding_with_eltwise_add_xpu_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_xpu_embedding_with_eltwise_add_xpu_fuse_pass.py rename to test/ir/inference/test_xpu_embedding_with_eltwise_add_xpu_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_xpu_fc_xpu_fuse_pass.py b/test/ir/inference/test_xpu_fc_xpu_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_xpu_fc_xpu_fuse_pass.py rename to test/ir/inference/test_xpu_fc_xpu_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_xpu_generate_sequence_xpu_fuse_pass.py b/test/ir/inference/test_xpu_generate_sequence_xpu_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_xpu_generate_sequence_xpu_fuse_pass.py rename to test/ir/inference/test_xpu_generate_sequence_xpu_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_xpu_link_xpu_op_max_pass.py b/test/ir/inference/test_xpu_link_xpu_op_max_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_xpu_link_xpu_op_max_pass.py rename to test/ir/inference/test_xpu_link_xpu_op_max_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_xpu_multi_encoder_xpu_fuse_pass.py b/test/ir/inference/test_xpu_multi_encoder_xpu_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_xpu_multi_encoder_xpu_fuse_pass.py rename to test/ir/inference/test_xpu_multi_encoder_xpu_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_xpu_multi_encoder_xpu_slice_fuse_pass.py b/test/ir/inference/test_xpu_multi_encoder_xpu_slice_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_xpu_multi_encoder_xpu_slice_fuse_pass.py rename to test/ir/inference/test_xpu_multi_encoder_xpu_slice_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/test_yolo_box_post.py b/test/ir/inference/test_yolo_box_post.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/test_yolo_box_post.py rename to test/ir/inference/test_yolo_box_post.py diff --git a/python/paddle/fluid/tests/unittests/ir/inference/trt_layer_auto_scan_test.py b/test/ir/inference/trt_layer_auto_scan_test.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/inference/trt_layer_auto_scan_test.py rename to test/ir/inference/trt_layer_auto_scan_test.py diff --git a/python/paddle/fluid/tests/unittests/ir/pass_test.py b/test/ir/pass_test.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/pass_test.py rename to test/ir/pass_test.py diff --git a/python/paddle/fluid/tests/unittests/ir/test_convert_to_mixed_precision.py b/test/ir/test_convert_to_mixed_precision.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/test_convert_to_mixed_precision.py rename to test/ir/test_convert_to_mixed_precision.py diff --git a/python/paddle/fluid/tests/unittests/ir/test_fuse_resnet_unit.py b/test/ir/test_fuse_resnet_unit.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/test_fuse_resnet_unit.py rename to test/ir/test_fuse_resnet_unit.py diff --git a/python/paddle/fluid/tests/unittests/ir/test_inference_datatype.py b/test/ir/test_inference_datatype.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/test_inference_datatype.py rename to test/ir/test_inference_datatype.py diff --git a/python/paddle/fluid/tests/unittests/ir/test_ir_embedding_eltwise_layernorm_fuse_pass.py b/test/ir/test_ir_embedding_eltwise_layernorm_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/test_ir_embedding_eltwise_layernorm_fuse_pass.py rename to test/ir/test_ir_embedding_eltwise_layernorm_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/test_ir_fc_fuse_pass.py b/test/ir/test_ir_fc_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/test_ir_fc_fuse_pass.py rename to test/ir/test_ir_fc_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/test_ir_fusion_group_pass.py b/test/ir/test_ir_fusion_group_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/test_ir_fusion_group_pass.py rename to test/ir/test_ir_fusion_group_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/test_ir_generate_pass.py b/test/ir/test_ir_generate_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/test_ir_generate_pass.py rename to test/ir/test_ir_generate_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/test_ir_graph_to_program_pass.py b/test/ir/test_ir_graph_to_program_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/test_ir_graph_to_program_pass.py rename to test/ir/test_ir_graph_to_program_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/test_ir_preln_residual_bias_fuse_pass.py b/test/ir/test_ir_preln_residual_bias_fuse_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/test_ir_preln_residual_bias_fuse_pass.py rename to test/ir/test_ir_preln_residual_bias_fuse_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/test_ir_skip_layernorm_pass.py b/test/ir/test_ir_skip_layernorm_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/test_ir_skip_layernorm_pass.py rename to test/ir/test_ir_skip_layernorm_pass.py diff --git a/python/paddle/fluid/tests/unittests/ir/test_ir_subgraph_python_interface.py b/test/ir/test_ir_subgraph_python_interface.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/test_ir_subgraph_python_interface.py rename to test/ir/test_ir_subgraph_python_interface.py diff --git a/python/paddle/fluid/tests/unittests/ir/test_ir_yolo_box_pass.py b/test/ir/test_ir_yolo_box_pass.py similarity index 100% rename from python/paddle/fluid/tests/unittests/ir/test_ir_yolo_box_pass.py rename to test/ir/test_ir_yolo_box_pass.py