Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Compile Error -- undefined reference to `_Py_Dealloc' #46097

Closed
engineer1109 opened this issue Sep 15, 2022 · 8 comments
Closed

Test Compile Error -- undefined reference to `_Py_Dealloc' #46097

engineer1109 opened this issue Sep 15, 2022 · 8 comments
Assignees
Labels
Intel status/close 已关闭 type/build 编译/安装问题

Comments

@engineer1109
Copy link
Contributor

engineer1109 commented Sep 15, 2022

问题描述 Issue Description

time cmake -DPY_VERSION=3.8 -DWITH_GPU=ON -DWITH_TESTING=ON ..

python的so链接库确实是有的, 但是编译的时候顺序不对
python的位置太靠前,导致后面的libfinal_dygraph_function.a 找不到python的so

make test_egr_ds_grad_tensor_holder VERBOSE=1 -j 16 可以打印链接信息

在eager_deps里写python依赖好像有问题。也可能是CMake的BUG

临时解决方案
paddle/cmake/generic.cmake修改加入${PYTHON_LIBRARIES}

    target_link_libraries(
      ${TARGET_NAME}
      ${cc_test_DEPS}
      ${PYTHON_LIBRARIES}
      ${os_dependency_modules}
      paddle_gtest_main
      lod_tensor
      memory
      gtest
      gflags
      glog)
[ 95%] Linking CXX executable test_egr_ds_grad_tensor_holder
/usr/bin/ld: ../../api/generated/eager_generated/forwards/libfinal_dygraph_function.a(dygraph_functions.cc.o): in function `egr::TensorWrapper::~TensorWrapper()':
dygraph_functions.cc:(.text._ZN3egr13TensorWrapperD2Ev[_ZN3egr13TensorWrapperD5Ev]+0x229): undefined reference to `_Py_Dealloc'
/usr/bin/ld: ../../api/generated/eager_generated/forwards/libfinal_dygraph_function.a(dygraph_functions.cc.o): in function `std::vector<egr::TensorWrapper, std::allocator<egr::TensorWrapper> >::~vector()':
dygraph_functions.cc:(.text._ZNSt6vectorIN3egr13TensorWrapperESaIS1_EED2Ev[_ZNSt6vectorIN3egr13TensorWrapperESaIS1_EED5Ev]+0x251): undefined reference to `_Py_Dealloc'
/usr/bin/ld: ../../api/generated/eager_generated/forwards/libfinal_dygraph_function.a(dygraph_functions.cc.o): in function `sparse::ValuesGradNode::~ValuesGradNode()':
dygraph_functions.cc:(.text._ZN6sparse14ValuesGradNodeD0Ev[_ZN6sparse14ValuesGradNodeD5Ev]+0x251): undefined reference to `_Py_Dealloc'
/usr/bin/ld: ../../api/generated/eager_generated/forwards/libfinal_dygraph_function.a(dygraph_functions.cc.o): in function `sparse::ToDenseGradNode::~ToDenseGradNode()':
dygraph_functions.cc:(.text._ZN6sparse15ToDenseGradNodeD0Ev[_ZN6sparse15ToDenseGradNodeD5Ev]+0x251): undefined reference to `_Py_Dealloc'
/usr/bin/ld: ../../api/generated/eager_generated/forwards/libfinal_dygraph_function.a(dygraph_functions.cc.o): in function `sparse::TanhGradNode::~TanhGradNode()':
dygraph_functions.cc:(.text._ZN6sparse12TanhGradNodeD0Ev[_ZN6sparse12TanhGradNodeD5Ev]+0x251): undefined reference to `_Py_Dealloc'
/usr/bin/ld: ../../api/generated/eager_generated/forwards/libfinal_dygraph_function.a(dygraph_functions.cc.o):dygraph_functions.cc:(.text._ZN6sparse11TanGradNodeD0Ev[_ZN6sparse11TanGradNodeD5Ev]+0x251): more undefined references to `_Py_Dealloc' follow
collect2: error: ld returned 1 exit status
make[2]: *** [paddle/fluid/eager/tests/data_structure_tests/CMakeFiles/test_egr_ds_grad_tensor_holder.dir/build.make:1037: paddle/fluid/eager/tests/data_structure_tests/test_egr_ds_grad_tensor_holder] Error 1
make[1]: *** [CMakeFiles/Makefile2:229069: paddle/fluid/eager/tests/data_structure_tests/CMakeFiles/test_egr_ds_grad_tensor_holder.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

CMAKE VERBOSE
make test_egr_ds_grad_tensor_holder VERBOSE=1 -j 16

/usr/bin/c++  -Wno-error=deprecated-declarations -Wno-deprecated-declarations -std=c++14 -m64 -fPIC -fno-omit-frame-pointer -Werror -Wall -Wextra -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wno-unused-parameter -Wno-unused-function -Wno-error=literal-suffix -Wno-error=unused-local-typedefs -Wno-error=ignored-attributes -Wno-error=terminate -Wno-error=int-in-bool-context -Wimplicit-fallthrough=0 -Wno-error=maybe-uninitialized -Wno-format-truncation -Wno-error=parentheses -Wno-error=catch-value -Wno-error=nonnull-compare -Wno-error=address -Wno-ignored-qualifiers -Wno-ignored-attributes -Wno-parentheses -fopenmp -mavx -O3 -DNDEBUG CMakeFiles/test_egr_ds_grad_tensor_holder.dir/grad_tensor_holder_test.cc.o -o test_egr_ds_grad_tensor_holder   -L/usr/local/cuda/targets/x86_64-linux/lib/stubs  -L/usr/local/cuda/targets/x86_64-linux/lib  -Wl,-rpath,/media/wjl/eae7f44e-ffa4-418a-9c8a-92712cb14e33/github/Paddle/build/third_party/install/mkldnn/lib:/media/wjl/eae7f44e-ffa4-418a-9c8a-92712cb14e33/github/Paddle/build/third_party/install/mklml/lib -lpthread ../../../../../third_party/install/glog/lib/libglog.a ../../../../phi/api/libphi_api.a ../../../../phi/api/lib/libphi_dygraph_api.a ../../api/utils/libhook_utils.a ../../api/utils/libtensor_utils.a ../../libutils.a ../../api/utils/libglobal_utils.a ../../libbackward.a ../../../../phi/api/lib/libphi_tensor.a ../../../imperative/libtracer.a ../../../imperative/liblayer.a ../../libautograd_meta.a ../../libeager_nan_inf_utils.a ../../libgrad_node_info.a ../../libgrad_tensor_holder.a ../../accumulation/libaccumulation_node.a ../../custom_operator/libcustom_operator_node.a /usr/lib/x86_64-linux-gnu/libpython3.8.so ../../api/generated/eager_generated/forwards/libfinal_dygraph_function.a ../../api/generated/eager_generated/backwards/libfinal_dygraph_node.a ../../api/generated/fluid_generated/forwards/libdygraph_function.a ../../api/generated/fluid_generated/nodes/libdygraph_node.a ../../../../testing/libpaddle_gtest_main.a ../../../framework/liblod_tensor.a ../../../memory/libmemory.a ../../../../../third_party/install/gtest/lib/libgtest.a ../../../../../third_party/install/gflags/lib/libgflags.a ../../../../../third_party/install/glog/lib/libglog.a ../../../operators/libeye_op.a ../../../operators/liblstm_op.a ../../../operators/libsparse_attention_op.a ../../../operators/libsync_batch_norm_op.a ../../../operators/libwarpctc_op.a ../../../operators/libload_combine_op.a ../../../operators/libsave_combine_op.a ../../../operators/libquantize_linear_op.a ../../../operators/librun_program_op.a ../../../framework/libexecutor_cache.a ../../../framework/libparallel_executor.a ../../../framework/details/libscope_buffered_ssa_graph_executor.a ../../../framework/details/libscope_buffered_monitor.a ../../../framework/details/libparallel_ssa_graph_executor.a ../../../framework/details/libasync_ssa_graph_executor.a ../../../framework/details/libthreaded_ssa_graph_executor.a ../../../framework/details/libbuild_strategy.a ../../../framework/ir/libpass_builder.a ../../../framework/ir/libgraph_viz_pass.a ../../../framework/ir/multi_devices_graph_pass/libmulti_devices_graph_print_pass.a ../../../framework/ir/multi_devices_graph_pass/libmulti_devices_graph_check_pass.a ../../../framework/ir/libfuse_elewise_add_act_pass.a ../../../framework/ir/libfuse_bn_act_pass.a ../../../framework/ir/libfuse_bn_add_act_pass.a ../../../framework/ir/libmulti_batch_merge_pass.a ../../../framework/ir/libfuse_relu_depthwise_conv_pass.a ../../../framework/ir/liblock_free_optimize_pass.a ../../../framework/ir/multi_devices_graph_pass/libsequential_execution_pass.a ../../../framework/ir/multi_devices_graph_pass/liball_reduce_deps_pass.a ../../../framework/ir/multi_devices_graph_pass/libadd_reader_dependency_pass.a ../../../framework/ir/multi_devices_graph_pass/libmodify_op_lock_and_record_event_pass.a ../../../framework/ir/libcoalesce_grad_tensor_pass.a ../../../framework/ir/multi_devices_graph_pass/libfuse_all_reduce_op_pass.a ../../../framework/ir/multi_devices_graph_pass/libbackward_optimizer_op_deps_pass.a ../../../framework/ir/fuse_optimizer_ops_pass/libfuse_adam_op_pass.a ../../../framework/ir/fuse_optimizer_ops_pass/libfuse_sgd_op_pass.a ../../../framework/ir/fuse_optimizer_ops_pass/libfuse_momentum_op_pass.a ../../../framework/ir/fuse_optimizer_ops_pass/libfuse_optimizer_op_pass.a ../../../framework/ir/libsync_batch_norm_pass.a ../../../framework/ir/libruntime_context_cache_pass.a ../../../framework/ir/multi_devices_graph_pass/libfix_op_run_order_pass.a ../../../framework/ir/libfuse_gemm_epilogue_pass.a ../../../framework/ir/libdelete_dropout_op_pass.a ../../../framework/ir/fusion_group/libfusion_group_pass.a ../../../framework/ir/fusion_group/libcode_generator.a ../../../framework/ir/libsubgraph_detector.a ../../../framework/ir/libmkldnn_placement_pass.a ../../../framework/ir/libplacement_pass_base.a ../../../framework/details/libbind_threaded_ssa_graph_executor.a ../../../framework/details/libfetch_op_handle.a ../../../framework/details/libfast_threaded_ssa_graph_executor.a ../../../framework/details/libssa_graph_executor.a ../../../framework/ir/memory_optimize_pass/libreference_count_pass.a ../../../framework/ir/memory_optimize_pass/libop_graph_view.a ../../../framework/ir/memory_optimize_pass/libeager_deletion_pass.a ../../../framework/details/libeager_deletion_op_handle.a ../../../framework/ir/memory_optimize_pass/libconditional_block_op_eager_deletion_pass.a ../../../framework/ir/memory_optimize_pass/libwhile_op_eager_deletion_pass.a ../../../framework/ir/memory_optimize_pass/librecurrent_op_eager_deletion_pass.a ../../../framework/ir/memory_optimize_pass/libbuffer_shared_inplace_op_pass.a ../../../framework/ir/memory_optimize_pass/libbuffer_shared_cross_op_memory_reuse_pass.a ../../../framework/ir/memory_optimize_pass/libinplace_addto_op_pass.a ../../../framework/ir/memory_optimize_pass/libmemory_reuse_pass.a ../../../framework/ir/memory_optimize_pass/libreference_count_pass_helper.a ../../../framework/details/libshare_tensor_buffer_op_handle.a ../../../framework/details/libshare_tensor_buffer_functor.a ../../../framework/ir/multi_devices_graph_pass/libset_reader_device_info_utils.a ../../../framework/ir/multi_devices_graph_pass/libmulti_devices_graph_pass.a ../../../framework/details/libmulti_devices_helper.a ../../../framework/details/libcomputation_op_handle.a ../../../framework/details/librpc_op_handle.a ../../../framework/details/libfetch_barrier_op_handle.a ../../../framework/details/libgrad_merge_all_reduce_op_handle.a ../../../framework/details/liball_reduce_op_handle.a ../../../framework/details/libfused_all_reduce_op_handle.a ../../../framework/details/libreduce_op_handle.a ../../../framework/details/libfused_broadcast_op_handle.a ../../../framework/details/libbroadcast_op_handle.a ../../../framework/details/libvariable_visitor.a ../../../framework/details/libfetch_async_op_handle.a ../../../framework/new_executor/libstandalone_executor.a ../../../framework/new_executor/interpreter/libdependency_builder.a ../../../framework/new_executor/workqueue/libworkqueue.a ../../../framework/new_executor/garbage_collector/libinterpretercore_garbage_collector.a ../../../platform/libdevice_event_gpu.a ../../../platform/libdevice_event_base.a ../../../platform/libcuda_graph_with_memory_pool.a ../../../operators/libwhere_op.a ../../../operators/libwhere_index_op.a ../../../operators/libviterbi_decode_op.a ../../../operators/libvar_conv_2d_op.a ../../../operators/libunstack_op.a ../../../operators/libunsqueeze_op.a ../../../operators/libunpool_op.a ../../../operators/libunique_with_counts_op.a ../../../operators/libunique_op.a ../../../operators/libunique_consecutive_op.a ../../../operators/libuniform_random_op.a ../../../operators/libuniform_random_inplace_op.a ../../../operators/libuniform_random_batch_size_like_op.a ../../../operators/libunfold_op.a ../../../operators/libunbind_op.a ../../../operators/libtruncated_gaussian_random_op.a ../../../operators/libtriu_indices_op.a ../../../operators/libtril_triu_op.a ../../../operators/libtril_indices_op.a ../../../operators/libtriangular_solve_op.a ../../../operators/libtree_conv_op.a ../../../operators/libtranspose_op.a ../../../operators/libtransfer_layout_op.a ../../../operators/libtop_k_v2_op.a ../../../operators/libtop_k_op.a ../../../operators/libtile_op.a ../../../operators/libtensor_array_to_tensor_op.a ../../../operators/libtemporal_shift_op.a ../../../operators/libteacher_student_sigmoid_loss_op.a ../../../operators/libtdm_sampler_op.a ../../../operators/libtdm_child_op.a ../../../operators/libtake_along_axis_op.a ../../../operators/libsvd_op.a ../../../operators/libsum_op.a ../../../operators/libstrided_slice_op.a ../../../operators/libstft_op.a ../../../operators/libstack_op.a ../../../operators/libsqueeze_op.a ../../../operators/libsquared_l2_norm_op.a ../../../operators/libsquared_l2_distance_op.a ../../../operators/libspp_op.a ../../../operators/libsplit_op.a ../../../operators/libsplit_lod_tensor_op.a ../../../operators/libspectral_norm_op.a ../../../operators/libspace_to_depth_op.a ../../../operators/libsoftmax_with_cross_entropy_op.a ../../../operators/libsoftmax_op.a ../../../operators/libsmooth_l1_loss_op.a ../../../operators/libslice_op.a ../../../operators/libsize_op.a ../../../operators/libsimilarity_focus_op.a ../../../operators/libsign_op.a ../../../operators/libsigmoid_cross_entropy_with_logits_op.a ../../../operators/libshuffle_channel_op.a ../../../operators/libshuffle_batch_op.a ../../../operators/libshrink_rnn_memory_op.a ../../../operators/libshare_data_op.a ../../../operators/libshare_buffer_op.a ../../../operators/libshard_index_op.a ../../../operators/libshape_op.a ../../../operators/libset_value_op.a ../../../operators/libselu_op.a ../../../operators/libselect_output_op.a ../../../operators/libselect_input_op.a ../../../operators/libsegment_pool_op.a ../../../operators/libseed_op.a ../../../operators/libsearchsorted_op.a ../../../operators/libscatter_op.a ../../../operators/libscatter_nd_add_op.a ../../../operators/libsave_op.a ../../../operators/libsampling_id_op.a ../../../operators/libsample_logits_op.a ../../../operators/librrelu_op.a ../../../operators/librow_conv_op.a ../../../operators/libroll_op.a ../../../operators/libroi_pool_op.a ../../../operators/libroi_align_op.a ../../../operators/librnn_op.a ../../../operators/librnn_memory_helper_op.a ../../../operators/libreverse_op.a ../../../operators/libreshape_op.a ../../../operators/librequantize_op.a ../../../operators/librepeat_interleave_op.a ../../../operators/libreorder_lod_tensor_by_rank_op.a ../../../operators/librenorm_op.a ../../../operators/libreal_op.a ../../../operators/libread_file_op.a ../../../operators/librank_loss_op.a ../../../operators/librank_attention_op.a ../../../operators/librange_op.a ../../../operators/librandperm_op.a ../../../operators/librandom_routing_op.a ../../../operators/librandom_crop_op.a ../../../operators/librandint_op.a ../../../operators/libqueue_generator_op.a ../../../operators/libquantize_op.a ../../../operators/libqr_op.a ../../../operators/libpyramid_hash_op.a ../../../operators/libput_along_axis_op.a ../../../operators/libpush_dense_op.a ../../../operators/libpull_sparse_v2_op.a ../../../operators/libpull_sparse_op.a ../../../operators/libpull_gpups_sparse_op.a ../../../operators/libpull_box_sparse_op.a ../../../operators/libpull_box_extended_sparse_op.a ../../../operators/libpsroi_pool_op.a ../../../operators/libprune_gate_by_capacity_op.a ../../../operators/libprroi_pool_op.a ../../../operators/libprint_op.a ../../../operators/libprelu_op.a ../../../operators/libpositive_negative_pair_op.a ../../../operators/libpool_with_index_op.a ../../../operators/libpool_op.a ../../../operators/libpixel_unshuffle_op.a ../../../operators/libpixel_shuffle_op.a ../../../operators/libpartial_sum_op.a ../../../operators/libpartial_concat_op.a ../../../operators/libpad_op.a ../../../operators/libpad_constant_like_op.a ../../../operators/libpad3d_op.a ../../../operators/libpad2d_op.a ../../../operators/libp_norm_op.a ../../../operators/liboverlap_add_op.a ../../../operators/libone_hot_v2_op.a ../../../operators/libone_hot_op.a ../../../operators/libnumber_count_op.a ../../../operators/libnorm_op.a ../../../operators/libnop_op.a ../../../operators/libnll_loss_op.a ../../../operators/libnce_op.a ../../../operators/libnanmedian_op.a ../../../operators/libmultiplex_op.a ../../../operators/libmultinomial_op.a ../../../operators/libmulti_dot_op.a ../../../operators/libmul_op.a ../../../operators/libmodified_huber_loss_op.a ../../../operators/libmode_op.a ../../../operators/libminus_op.a ../../../operators/libmeshgrid_op.a ../../../operators/libmerge_selected_rows_op.a ../../../operators/libmerge_lod_tensor_op.a ../../../operators/libmemcpy_op.a ../../../operators/libmemcpy_h2d_op.a ../../../operators/libmemcpy_d2h_op.a ../../../operators/libmean_op.a ../../../operators/libmean_iou_op.a ../../../operators/libmaxout_op.a ../../../operators/libmax_sequence_len_op.a ../../../operators/libmatrix_rank_op.a ../../../operators/libmatrix_power_op.a ../../../operators/libmatmul_v2_op.a ../../../operators/libmatmul_op.a ../../../operators/libmatch_matrix_tensor_op.a ../../../operators/libmasked_select_op.a ../../../operators/libmarker_op.a ../../../operators/libmargin_rank_loss_op.a ../../../operators/libmargin_cross_entropy_op.a ../../../operators/liblu_unpack_op.a ../../../operators/liblu_op.a ../../../operators/liblstsq_op.a ../../../operators/liblstmp_op.a ../../../operators/liblstm_unit_op.a ../../../operators/liblrn_op.a ../../../operators/liblookup_table_v2_op.a ../../../operators/liblookup_table_op.a ../../../operators/liblookup_table_dequant_op.a ../../../operators/liblogspace_op.a ../../../operators/liblog_softmax_op.a ../../../operators/liblog_loss_op.a ../../../operators/liblod_tensor_to_array_op.a ../../../operators/liblod_reset_op.a ../../../operators/liblod_rank_table_op.a ../../../operators/liblod_array_length_op.a ../../../operators/libload_op.a ../../../operators/liblinspace_op.a ../../../operators/liblinear_chain_crf_op.a ../../../operators/liblimit_by_capacity_op.a ../../../operators/liblerp_op.a ../../../operators/liblayer_norm_op.a ../../../operators/liblabel_smooth_op.a ../../../operators/libl1_norm_op.a ../../../operators/libkthvalue_op.a ../../../operators/libkron_op.a ../../../operators/libkldiv_loss_op.a ../../../operators/libisfinite_v2_op.a ../../../operators/libisfinite_op.a ../../../operators/libisclose_op.a ../../../operators/libis_empty_op.a ../../../operators/libinverse_op.a ../../../operators/libinterpolate_v2_op.a ../../../operators/libinterpolate_op.a ../../../operators/libinstance_norm_op.a ../../../operators/libinplace_abn_op.a ../../../operators/libindex_select_op.a ../../../operators/libindex_sample_op.a ../../../operators/libindex_add_op.a ../../../operators/libincrement_op.a ../../../operators/libimag_op.a ../../../operators/libim2sequence_op.a ../../../operators/libidentity_loss_op.a ../../../operators/libhuber_loss_op.a ../../../operators/libhistogram_op.a ../../../operators/libhinge_loss_op.a ../../../operators/libhierarchical_sigmoid_op.a ../../../operators/libhash_op.a ../../../operators/libgumbel_softmax_op.a ../../../operators/libgru_unit_op.a ../../../operators/libgru_op.a ../../../operators/libgroup_norm_op.a ../../../operators/libgrid_sampler_op.a ../../../operators/libgraph_send_ue_recv_op.a ../../../operators/libgraph_send_recv_op.a ../../../operators/libgraph_sample_neighbors_op.a ../../../operators/libgraph_reindex_op.a ../../../operators/libgraph_khop_sampler_op.a ../../../operators/libget_tensor_from_selected_rows_op.a ../../../operators/libgenerated_op.a ../../../operators/libgelu_op.a ../../../operators/libgaussian_random_op.a ../../../operators/libgaussian_random_batch_size_like_op.a ../../../operators/libgather_tree_op.a ../../../operators/libgather_op.a ../../../operators/libgather_nd_op.a ../../../operators/libfused_token_prune_op.a ../../../operators/libfused_softmax_mask_upper_triangle_op.a ../../../operators/libfused_softmax_mask_op.a ../../../operators/libfsp_op.a ../../../operators/libframe_op.a ../../../operators/libfold_op.a ../../../operators/libflip_op.a ../../../operators/libflatten_op.a ../../../operators/libfilter_by_instag_op.a ../../../operators/libfill_zeros_like_op.a ../../../operators/libfill_op.a ../../../operators/libfill_diagonal_tensor_op.a ../../../operators/libfill_diagonal_op.a ../../../operators/libfill_constant_op.a ../../../operators/libfill_constant_batch_size_like_op.a ../../../operators/libfill_any_op.a ../../../operators/libfill_any_like_op.a ../../../operators/libfc_op.a ../../../operators/libfake_quantize_op.a ../../../operators/libfake_dequantize_op.a ../../../operators/libexponential_op.a ../../../operators/libexpand_v2_op.a ../../../operators/libexpand_op.a ../../../operators/libexpand_as_v2_op.a ../../../operators/libexpand_as_op.a ../../../operators/libenqueue_op.a ../../../operators/libempty_op.a ../../../operators/libeinsum_op.a ../../../operators/libeigvalsh_op.a ../../../operators/libeigvals_op.a ../../../operators/libeigh_op.a ../../../operators/libeig_op.a ../../../operators/libedit_distance_op.a ../../../operators/libdropout_op.a ../../../operators/libdirichlet_op.a ../../../operators/libdiag_op.a ../../../operators/libdiag_embed_op.a ../../../operators/libdgc_clip_by_norm_op.a ../../../operators/libdeterminant_op.a ../../../operators/libdetection_map_op.a ../../../operators/libdequeue_op.a ../../../operators/libdequantize_op.a ../../../operators/libdequantize_log_op.a ../../../operators/libdequantize_abs_max_op.a ../../../operators/libdelete_var_op.a ../../../operators/libdeformable_psroi_pooling_op.a ../../../operators/libdeformable_conv_v1_op.a ../../../operators/libdeformable_conv_op.a ../../../operators/libdecode_jpeg_op.a ../../../operators/libdata_norm_op.a ../../../operators/libcvm_op.a ../../../operators/libcumprod_op.a ../../../operators/libcum_op.a ../../../operators/libcudnn_lstm_op.a ../../../operators/libctc_align_op.a ../../../operators/libcross_entropy_op.a ../../../operators/libcrop_tensor_op.a ../../../operators/libcrop_op.a ../../../operators/libcrf_decoding_op.a ../../../operators/libcos_sim_op.a ../../../operators/libcorrelation_op.a ../../../operators/libcopy_cross_scope_op.a ../../../operators/libconv_transpose_op.a ../../../operators/libconv_shift_op.a ../../../operators/libconv_op.a ../../../operators/libconj_op.a ../../../operators/libconcat_op.a ../../../operators/libcomplex_view_op.a ../../../operators/libcomplex_op.a ../../../operators/libcoalesce_tensor_op.a ../../../operators/libclip_op.a ../../../operators/libclip_by_norm_op.a ../../../operators/libclass_center_sample_op.a ../../../operators/libchunk_eval_op.a ../../../operators/libcheck_memory_continue_op.a ../../../operators/libchannel_shuffle_op.a ../../../operators/libcenter_loss_op.a ../../../operators/libcast_op.a ../../../operators/libbroadcast_tensors_op.a ../../../operators/libbpr_loss_op.a ../../../operators/libbmm_op.a ../../../operators/libbincount_op.a ../../../operators/libbilinear_tensor_product_op.a ../../../operators/libbilateral_slice_op.a ../../../operators/libbeam_search_op.a ../../../operators/libbeam_search_decode_op.a ../../../operators/libbce_loss_op.a ../../../operators/libbatch_norm_op.a ../../../operators/libbatch_fc_op.a ../../../operators/libaverage_accumulates_op.a ../../../operators/libattention_lstm_op.a ../../../operators/libassign_value_op.a ../../../operators/libassign_pos_op.a ../../../operators/libassign_op.a ../../../operators/libassert_op.a ../../../operators/libascend_trigger_op.a ../../../operators/libarray_to_lod_tensor_op.a ../../../operators/libargsort_op.a ../../../operators/libarg_min_op.a ../../../operators/libarg_max_op.a ../../../operators/libangle_op.a ../../../operators/liballclose_op.a ../../../operators/libaffine_grid_op.a ../../../operators/libaffine_channel_op.a ../../../operators/libaddmm_op.a ../../../operators/libadd_position_encoding_op.a ../../../operators/libactivation_op.a ../../../operators/libabs_op.a ../../../operators/nccl/libnccl_op.a ../../../operators/reader/libread_op.a ../../../operators/reader/libcreate_py_reader_op.a ../../../operators/reader/libpy_reader.a ../../../operators/reader/libcreate_double_buffer_reader_op.a ../../../operators/reader/libbuffered_reader.a ../../../operators/reader/libreader_op_registry.a ../../../framework/libreader.a ../../../operators/amp/libupdate_loss_scaling_op.a ../../../operators/amp/libget_float_status_op.a ../../../operators/amp/libclear_float_status_op.a ../../../operators/amp/libcheck_finite_and_unscale_op.a ../../../operators/amp/liballoc_float_status_op.a ../../../operators/prim_ops/libtranspose_p_op.a ../../../operators/prim_ops/libtanh_p_op.a ../../../operators/prim_ops/libsub_p_op.a ../../../operators/prim_ops/libsqrt_p_op.a ../../../operators/prim_ops/libsplit_p_op.a ../../../operators/prim_ops/libslice_select_p_op.a ../../../operators/prim_ops/libslice_assign_p_op.a ../../../operators/prim_ops/libsin_p_op.a ../../../operators/prim_ops/libselect_p_op.a ../../../operators/prim_ops/libscatter_add_p_op.a ../../../operators/prim_ops/libreshape_p_op.a ../../../operators/prim_ops/libreduce_sum_p_op.a ../../../operators/prim_ops/libpow_p_op.a ../../../operators/prim_ops/libne_p_op.a ../../../operators/prim_ops/libmul_p_op.a ../../../operators/prim_ops/libmax_p_op.a ../../../operators/prim_ops/libmatmul_p_op.a ../../../operators/prim_ops/liblog_p_op.a ../../../operators/prim_ops/libgt_p_op.a ../../../operators/prim_ops/libge_p_op.a ../../../operators/prim_ops/libgather_p_op.a ../../../operators/prim_ops/libfill_constant_p_op.a ../../../operators/prim_ops/libexp_p_op.a ../../../operators/prim_ops/liberf_p_op.a ../../../operators/prim_ops/libeq_p_op.a ../../../operators/prim_ops/libdiv_p_op.a ../../../operators/prim_ops/libcos_p_op.a ../../../operators/prim_ops/libconcat_p_op.a ../../../operators/prim_ops/libbroadcast_p_op.a ../../../operators/prim_ops/libadd_p_op.a ../../../operators/prim_ops/libabs_p_op.a ../../../operators/string/libfaster_tokenizer_op.a ../../../framework/libstring_array.a ../../../operators/sequence_ops/libsequence_unpad_op.a ../../../operators/sequence_ops/libsequence_topk_avg_pooling_op.a ../../../operators/sequence_ops/libsequence_softmax_op.a ../../../operators/sequence_ops/libsequence_slice_op.a ../../../operators/sequence_ops/libsequence_scatter_op.a ../../../operators/sequence_ops/libsequence_reverse_op.a ../../../operators/sequence_ops/libsequence_reshape_op.a ../../../operators/sequence_ops/libsequence_pool_op.a ../../../operators/sequence_ops/libsequence_pad_op.a ../../../operators/sequence_ops/libsequence_mask_op.a ../../../operators/sequence_ops/libsequence_expand_op.a ../../../operators/sequence_ops/libsequence_expand_as_op.a ../../../operators/sequence_ops/libsequence_erase_op.a ../../../operators/sequence_ops/libsequence_enumerate_op.a ../../../operators/sequence_ops/libsequence_conv_op.a ../../../operators/sequence_ops/libsequence_concat_op.a ../../../operators/reduce_ops/libreduce_sum_op.a ../../../operators/reduce_ops/libreduce_prod_op.a ../../../operators/reduce_ops/libreduce_min_op.a ../../../operators/reduce_ops/libreduce_mean_op.a ../../../operators/reduce_ops/libreduce_max_op.a ../../../operators/reduce_ops/libreduce_any_op.a ../../../operators/reduce_ops/libreduce_amin_op.a ../../../operators/reduce_ops/libreduce_amax_op.a ../../../operators/reduce_ops/libreduce_all_op.a ../../../operators/reduce_ops/liblogsumexp_op.a ../../../operators/reduce_ops/libfrobenius_norm_op.a ../../../operators/optimizers/libsparse_momentum_op.a ../../../operators/optimizers/libsgd_op.a ../../../operators/optimizers/librmsprop_op.a ../../../operators/optimizers/libproximal_gd_op.a ../../../operators/optimizers/libproximal_adagrad_op.a ../../../operators/optimizers/libpow2_decay_with_linear_warmup_op.a ../../../operators/optimizers/libmomentum_op.a ../../../operators/optimizers/libmerged_momentum_op.a ../../../operators/optimizers/libmerged_adam_op.a ../../../operators/optimizers/liblars_momentum_op.a ../../../operators/optimizers/liblamb_op.a ../../../operators/optimizers/libftrl_op.a ../../../operators/optimizers/libdpsgd_op.a ../../../operators/optimizers/libdistributed_fused_lamb_op.a ../../../operators/optimizers/libdistributed_fused_lamb_init_op.a ../../../operators/optimizers/libdgc_momentum_op.a ../../../operators/optimizers/libdecayed_adagrad_op.a ../../../operators/optimizers/libadamw_op.a ../../../operators/optimizers/libadamax_op.a ../../../operators/optimizers/libadam_op.a ../../../operators/optimizers/libadagrad_op.a ../../../operators/optimizers/libadadelta_op.a ../../../operators/metrics/libprecision_recall_op.a ../../../operators/metrics/libauc_op.a ../../../operators/metrics/libaccuracy_op.a ../../../operators/fused/libfused_gemm_epilogue_op.a ../../../operators/fused/libresnet_unit_op.a ../../../operators/fused/libfused_bias_dropout_residual_layer_norm_op.a ../../../operators/fused/libfused_multi_transformer_op.a ../../../operators/fused/libfused_attention_op.a ../../../operators/fused/libfused_feedforward_op.a ../../../operators/fused/libfused_bn_add_activation_op.a ../../../operators/fused/libfusion_group_op.a ../../../platform/libdevice_code.a ../../../operators/fused/libfused_gate_attention_op.a ../../../operators/fused/libfused_embedding_eltwise_layernorm_op.a ../../../operators/fused/libyolo_box_post_op.a ../../../operators/fused/libyolo_box_head_op.a ../../../operators/fused/libskip_layernorm_op.a ../../../operators/fused/libmultihead_matmul_op.a ../../../operators/fused/libfused_fc_elementwise_layernorm_op.a ../../../operators/fused/libfusion_conv_inception_op.a ../../../operators/fused/libfusion_transpose_flatten_concat_op.a ../../../operators/fused/libconv_fusion_op.a ../../../operators/fused/libfused_bn_activation_op.a ../../../operators/fused/libfusion_lstm_op.a ../../../operators/fused/libfusion_gru_op.a ../../../operators/fused/libmulti_gru_op.a ../../../operators/fused/libfusion_squared_mat_sub_op.a ../../../operators/fused/libfusion_seqpool_cvm_concat_op.a ../../../operators/fused/libfusion_seqpool_concat_op.a ../../../operators/fused/libfusion_seqexpand_concat_fc_op.a ../../../operators/fused/libfusion_seqconv_eltadd_relu_op.a ../../../operators/fused/libfusion_repeated_fc_relu_op.a ../../../operators/fused/libfused_seqpool_cvm_op.a ../../../operators/fused/libfused_embedding_seq_pool_op.a ../../../operators/fused/libfused_embedding_fc_lstm_op.a ../../../operators/fused/libfused_elemwise_activation_op.a ../../../operators/elementwise/libelementwise_sub_op.a ../../../operators/elementwise/libelementwise_pow_op.a ../../../operators/elementwise/libelementwise_mul_op.a ../../../operators/elementwise/libelementwise_mod_op.a ../../../operators/elementwise/libelementwise_min_op.a ../../../operators/elementwise/libelementwise_max_op.a ../../../operators/elementwise/libelementwise_heaviside_op.a ../../../operators/elementwise/libelementwise_floordiv_op.a ../../../operators/elementwise/libelementwise_div_op.a ../../../operators/elementwise/libelementwise_add_op.a ../../../operators/detection/libgenerate_mask_labels_op.a ../../../operators/detection/libmask_util.a ../../../operators/detection/libroi_perspective_transform_op.a ../../../operators/detection/libcollect_fpn_proposals_op.a ../../../operators/detection/libdistribute_fpn_proposals_op.a ../../../operators/detection/libgenerate_proposals_v2_op.a ../../../operators/detection/libgenerate_proposals_op.a ../../../operators/detection/libnms_op.a ../../../operators/detection/libretinanet_detection_output_op.a ../../../operators/detection/libsigmoid_focal_loss_op.a ../../../operators/detection/libbox_decoder_and_assign_op.a ../../../operators/detection/libyolo_box_op.a ../../../operators/detection/libyolov3_loss_op.a ../../../operators/detection/libbox_clip_op.a ../../../operators/detection/libmatrix_nms_op.a ../../../operators/detection/liblocality_aware_nms_op.a ../../../operators/detection/libmulticlass_nms_op.a ../../../operators/detection/libgenerate_proposal_labels_op.a ../../../operators/detection/librpn_target_assign_op.a ../../../operators/detection/libpolygon_box_transform_op.a ../../../operators/detection/libtarget_assign_op.a ../../../operators/detection/libanchor_generator_op.a ../../../operators/detection/libmine_hard_examples_op.a ../../../operators/detection/libbipartite_match_op.a ../../../operators/detection/libprior_box_op.a ../../../operators/detection/libiou_similarity_op.a ../../../operators/detection/libdensity_prior_box_op.a ../../../operators/detection/libbox_coder_op.a ../../../operators/controlflow/libwhile_op.a ../../../operators/controlflow/libtensor_array_read_write_op.a ../../../operators/controlflow/liblogical_op.a ../../../operators/controlflow/libget_places_op.a ../../../operators/controlflow/libfetch_v2_op.a ../../../operators/controlflow/libfetch_op.a ../../../operators/controlflow/libfeed_op.a ../../../operators/controlflow/libdepend_op.a ../../../operators/controlflow/libconditional_block_infer_op.a ../../../operators/controlflow/libcompare_op.a ../../../operators/controlflow/libcompare_all_op.a ../../../operators/controlflow/libbitwise_op.a ../../../framework/libnaive_executor.a ../../../operators/nccl/libnccl_common.a ../../../operators/math/libunpooling.a ../../../operators/math/libcontext_project.a ../../../operators/math/libsequence_pooling.a ../../../platform/dynload/libdynload_warpctc.a ../../../operators/math/libcos_sim_functor.a ../../../operators/math/libconcat_and_split.a ../../../operators/math/libsampler.a ../../../operators/math/libsample_prob.a ../../../operators/math/libtree2col.a ../../../../phi/kernels/funcs/libsequence2batch.a ../../../operators/math/libbeam_search.a ../../../../phi/kernels/funcs/libfc_functor.a ../../../operators/math/libdepthwise_conv.a ../../../operators/math/libprelu.a ../../../operators/math/libbert_encoder_functor.a ../../../operators/libtensor_formatter.a ../../../../phi/api/lib/libphi_dygraph_api.a ../../libbackward.a ../../api/utils/libhook_utils.a ../../libutils.a ../../api/utils/libhook_utils.a ../../libutils.a ../../api/utils/libtensor_utils.a ../../../operators/libscale_op.a ../../../operators/librecurrent_op.a ../../../framework/libexecutor.a ../../../operators/controlflow/libconditional_block_op.a ../../../distributed/fleet_executor/libfleet_executor.a ../../../framework/libexecutor_gc_helper.a ../../../operators/controlflow/librecurrent_op_helper.a ../../../operators/controlflow/libconditional_block_op_helper.a ../../../operators/librecurrent_op.a ../../../framework/libexecutor.a ../../../operators/controlflow/libconditional_block_op.a ../../../distributed/fleet_executor/libfleet_executor.a ../../../framework/libexecutor_gc_helper.a ../../../operators/controlflow/librecurrent_op_helper.a ../../../operators/controlflow/libconditional_block_op_helper.a ../../../framework/liblod_rank_table.a ../../../framework/fleet/libbox_wrapper.a ../../../framework/fleet/libps_gpu_wrapper.a ../../../framework/fleet/libgloo_wrapper.a ../../../framework/io/libfs.a ../../../framework/io/libshell.a ../../../framework/fleet/libfleet_wrapper.a ../../../framework/fleet/libheter_wrapper.a ../../../framework/libheter_service_proto.a ../../../platform/liblodtensor_printer.a ../../../framework/libfeed_fetch_method.a ../../../framework/ir/libgraph_to_program_pass.a ../../../framework/libop_version_registry.a ../../../framework/libop_version_proto.a ../../../framework/ir/libfuse_pass_base.a ../../../framework/ir/libop_compat_sensible_pass.a ../../../framework/ir/libgraph_pattern_detector.a ../../../framework/ir/libgraph_traits.a ../../../framework/ir/libpass.a ../../../framework/ir/libgraph_helper.a ../../../framework/ir/libgraph.a ../../../../utils/string/libpretty_log.a ../../../framework/libprogram_utils.a ../../../framework/details/libscale_loss_grad_op_handle.a ../../../framework/details/libop_handle_base.a ../../../framework/details/libvar_handle.a ../../../framework/ir/libnode.a ../../../framework/libop_def_api.a ../../../framework/libop_def_proto.a ../../../platform/libtimer.a ../../../distributed/fleet_executor/libfleet_executor_desc_proto.a ../../../distributed/fleet_executor/libinterceptor_message_proto.a ../../../distributed/fleet_executor/libtask_loop_thread_pool.a ../../../operators/controlflow/libwhile_op_helper.a ../../../operators/controlflow/libop_variant.a ../../../operators/libcommon_infer_shape_functions.a ../../libautograd_meta.a ../../libeager_nan_inf_utils.a ../../libgrad_tensor_holder.a ../../accumulation/libaccumulation_node.a ../../custom_operator/libcustom_operator_node.a ../../libgrad_node_info.a ../../../framework/libcustom_operator.a ../../../../phi/api/libphi_api.a ../../../../phi/api/lib/libphi_bw_function_api.a ../../api/utils/libglobal_utils.a ../../../imperative/libtracer.a ../../../imperative/libengine.a ../../../imperative/libgradient_accumulator.a ../../../imperative/jit/libprogram_desc_tracer.a ../../../imperative/jit/libop_desc_meta.a ../../../imperative/libamp.a ../../../imperative/liblayer.a ../../../imperative/libprepared_operator.a ../../../imperative/libimperative_flag.a ../../../platform/libdenormal.a ../../../framework/libgarbage_collector.a ../../../imperative/libvar_helper.a ../../../imperative/liblayout_autotune.a ../../../../phi/api/lib/libsparse_bw_api.a ../../../../phi/api/lib/libphi_tensor.a ../../../../phi/api/lib/libphi_function_api.a ../../../../phi/api/lib/libapi_custom_impl.a ../../../../phi/api/lib/libphi_data_transform.a ../../../../phi/infermeta/libbackward_infermeta.a ../../../../phi/api/lib/libsparse_api.a ../../../../phi/api/lib/libstrings_api.a ../../../../utils/string/libstring_helper.a ../../../../phi/api/lib/libop_meta_info.a ../../../framework/libop_registry.a ../../../framework/libvariable_helper.a -Wl,-undefined,dynamic_lookup ../../../../../third_party/install/gtest/lib/libgtest.a ../../../framework/libproto_desc.a ../../../framework/liboperator.a ../../../distributed/auto_parallel/libdist_attr.a ../../../framework/libproto_desc.a ../../../framework/liboperator.a ../../../distributed/auto_parallel/libdist_attr.a ../../../framework/details/libnan_inf_utils.a ../../../framework/libtrainer_desc_proto.a ../../../framework/libdata_feed_proto.a ../../../framework/libdata_transform.a ../../../framework/libdata_device_transform.a ../../../framework/libdata_type_transform.a ../../../framework/libdata_layout_transform.a ../../../framework/libtransfer_scope_cache.a ../../../framework/libop_kernel_type.a ../../../framework/libop_call_stack.a ../../../framework/libunused_var_check.a ../../../framework/libinfershape_utils.a ../../../distributed/auto_parallel/libprocess_mesh.a ../../../distributed/auto_parallel/libauto_parallel_proto.a ../../../framework/libphi_utils.a ../../../../phi/libphi.a ../../../../phi/libphi_static_1.a ../../../../phi/api/lib/libtensor_copy.a ../../../../phi/libphi.a ../../../../phi/libphi_static_1.a ../../../../phi/api/lib/libtensor_copy.a ../../../../phi/kernels/autotune/libswitch_autotune.a ../../../../phi/kernels/autotune/libcache.a ../../../../phi/infermeta/libinfermeta.a ../../../operators/libgather_scatter_kernel.a ../../../operators/math/libselected_rows_functor.a ../../../operators/mkldnn/libmkldnn_axpy_handler.a ../../../../phi/kernels/funcs/lapack/liblapack_function.a ../../../../phi/backends/dynload/libphi_dynload_lapack.a ../../../operators/math/libmaxouting.a ../../../../phi/kernels/funcs/libpooling.a ../../../platform/libdevice_memory_aligment.a ../../../operators/math/libsequence_padding.a ../../../operators/math/libsequence_scale.a ../../../operators/math/libcross_entropy.a ../../../operators/math/libsoftmax.a ../../../operators/jit/libjit_kernel_helper.a ../../../operators/jit/refer/libjit_kernel_refer.a ../../../operators/jit/more/mkl/libjit_kernel_mkl.a ../../../operators/jit/more/intrinsic/libjit_kernel_intrinsic.a ../../../operators/jit/more/mix/libjit_kernel_mix.a ../../../operators/jit/gen/libjit_kernel_jitcode.a ../../../operators/jit/libjit_kernel_base.a ../../../operators/math/libvol2col.a ../../../operators/math/libim2col.a ../../../../phi/kernels/funcs/liblstm_compute.a ../../../operators/math/libmatrix_bit_code.a ../../../../phi/kernels/funcs/libgru_compute.a ../../../../phi/kernels/funcs/detail/libactivation_functions.a ../../../../phi/kernels/funcs/libmatrix_inverse.a ../../../../phi/kernels/funcs/libmatrix_solve.a ../../../../phi/kernels/funcs/libmath_function.a ../../../../phi/kernels/funcs/eigen/libeigen_function.a ../../../../phi/kernels/funcs/blas/libblas.a ../../../../../third_party/install/utf8proc/lib/libutf8proc.a ../../../../phi/kernels/funcs/libgpc.a ../../../../phi/backends/dynload/libphi_dynload_warpctc.a ../../../../phi/kernels/funcs/libconcat_and_split_functor.a ../../../../phi/core/libkernel_context.a ../../../../phi/core/liblod_utils.a ../../../../phi/infermeta/strings/libstring_infermeta.a ../../../../phi/core/libphi_tensor_utils.a ../../../../phi/kernels/funcs/libdeformable_conv_functor.a ../../../../phi/kernels/funcs/libmatrix_reduce.a ../../../../phi/kernels/funcs/libsegment_pooling.a ../../../../phi/kernels/funcs/libfft.a ../../../../phi/kernels/funcs/libphi_data_layout_transform.a ../../../distributed/collective/libprocessgroup_nccl.a ../../../distributed/collective/libprocessgroup.a ../../../platform/libcollective_helper.a ../../../distributed/collective/libprocessgroup_stream.a ../../../../phi/api/lib/libkernel_dispatch.a ../../../../phi/api/lib/libapi_gen_utils.a ../../../../phi/api/lib/libphi_tensor_raw.a ../../../platform/libinit.a ../../../../phi/api/lib/libcontext_pool.a ../../../platform/libinit.a ../../../../phi/api/lib/libcontext_pool.a ../../../../phi/core/libcustom_kernel.a ../../../../phi/core/libkernel_factory.a ../../../../phi/core/libsparse_csr_tensor.a ../../../../phi/core/libsparse_coo_tensor.a ../../../../phi/core/libinfermeta_utils.a ../../../../phi/core/libmeta_tensor.a ../../../../phi/api/lib/utils/libphi_api_utils.a ../../../framework/liblod_tensor.a ../../../framework/libmixed_vector.a ../../../../phi/common/libscalar.a ../../../../phi/common/libint_array.a ../../../../phi/core/libstring_tensor.a ../../../framework/libselected_rows_utils.a ../../../../phi/core/libserialization.a ../../../framework/libtensor.a ../../../memory/libmemory.a ../../../memory/libmemcpy.a ../../../framework/libversion.a ../../../framework/libop_info.a ../../../framework/libno_need_buffer_vars_inference.a ../../../platform/libplace.a ../../../framework/libgenerator.a ../../../platform/libdevice_context.a ../../../platform/device/gpu/libgpu_info.a ../../../memory/libmalloc.a ../../../../phi/core/libdense_tensor.a ../../../../phi/backends/libphi_backends.a ../../../../phi/core/libselected_rows.a ../../../framework/libscope.a ../../../platform/libprofiler.a ../../../../phi/common/libphi_place.a ../../../../phi/core/compat/libconvert_utils.a ../../../framework/libvar_type_traits.a ../../../../phi/core/libphi_device_context.a ../../../platform/device/gpu/libgpu_resource_pool.a ../../../memory/allocation/liballocator.a ../../../framework/libfluid_convert_utils.a ../../../../phi/core/libtensor_array.a ../../../platform/profiler/libnew_profiler.a ../../../platform/libcuda_device_guard.a ../../../platform/profiler/libhost_tracer.a ../../../platform/profiler/libevent_bind.a ../../../platform/profiler/libprofiler_logger.a ../../../platform/profiler/libevent_node.a ../../../platform/libplace.a ../../../framework/libgenerator.a ../../../platform/libdevice_context.a ../../../platform/device/gpu/libgpu_info.a ../../../memory/libmalloc.a ../../../../phi/core/libdense_tensor.a ../../../../phi/backends/libphi_backends.a ../../../../phi/core/libselected_rows.a ../../../framework/libscope.a ../../../platform/libprofiler.a ../../../../phi/common/libphi_place.a ../../../../phi/core/compat/libconvert_utils.a ../../../framework/libvar_type_traits.a ../../../../phi/core/libphi_device_context.a ../../../platform/device/gpu/libgpu_resource_pool.a ../../../memory/allocation/liballocator.a ../../../framework/libfluid_convert_utils.a ../../../../phi/core/libtensor_array.a ../../../platform/profiler/libnew_profiler.a ../../../platform/libcuda_device_guard.a ../../../platform/profiler/libhost_tracer.a ../../../platform/profiler/libevent_bind.a ../../../platform/profiler/libprofiler_logger.a ../../../platform/profiler/libevent_node.a ../../../platform/libstream_callback_manager.a ../../../../utils/string/libstringpiece.a ../../../platform/libcpu_helper.a ../../../../../libcblas.a ../../../platform/dynload/libdynload_mklml.a ../../../../phi/backends/dynload/libphi_dynload_mklml.a -L/media/wjl/eae7f44e-ffa4-418a-9c8a-92712cb14e33/github/Paddle/build/third_party/install/mklml/lib -liomp5 -Wl,--as-needed ../../../platform/libmonitor.a ../../../../phi/core/libtensor_meta.a ../../../../../libmkldnn.a ../../../../../third_party/install/mkldnn/lib/libdnnl.so ../../../../../third_party/install/mklml/lib/libiomp5.so ../../../../../third_party/install/xxhash/lib/libxxhash.a ../../../framework/libthreadpool.a ../../../framework/libshape_inference.a ../../../framework/libop_proto_maker.a ../../../operators/libops_extra_info.a ../../../platform/libcudnn_workspace_helper.a ../../../framework/libattribute.a ../../../platform/libdevice_tracer.a ../../../platform/libprofiler_proto.a ../../../../phi/core/compat/libop_utils.a ../../../../phi/core/compat/libarg_map_context.a ../../../memory/libstats.a ../../../platform/dynload/libdynload_cuda.a ../../../platform/dynload/libdynamic_loader.a ../../../../phi/backends/dynload/libphi_dynload_cuda.a ../../../../phi/backends/dynload/libphi_dynamic_loader.a ../../../platform/device/gpu/cuda/libcuda_graph.a ../../../framework/libdata_type.a ../../../framework/libframework_proto.a ../../../../phi/core/libtensor_base.a ../../../platform/profiler/libcuda_tracer.a ../../../platform/profiler/libcpu_utilization.a ../../../platform/libcpu_info.a ../../../platform/libos_info.a ../../../platform/profiler/mlu/libmlu_tracer.a ../../../platform/profiler/custom_device/libcustom_tracer.a ../../../framework/new_executor/workqueue/libworkqueue_utils.a ../../../../phi/core/libddim.a ../../../platform/profiler/libprofiler_utils.a ../../../platform/profiler/dump/libnodetreeproto.a ../../../platform/libenforce.a ../../../../phi/core/libphi_enforce.a ../../../platform/libflags.a ../../../../../third_party/install/gflags/lib/libgflags.a ../../../../phi/core/liberrors.a ../../../platform/libexternal_error_proto.a -lpthread ../../../../../third_party/install/glog/lib/libglog.a ../../../../../third_party/install/protobuf/lib/libprotobuf.a -lcudadevrt -lcudart_static -lrt -lpthread -ldl  -pthread -ldl -lrt

版本&环境信息 Version & Environment Information

  1. Paddle develop b294f05
  2. I9 9900K
  3. RTX2080Ti
  4. Ubuntu 20.04
  5. Python 3.8
  6. CMake 3.21
@engineer1109 engineer1109 added status/new-issue 新建 type/build 编译/安装问题 labels Sep 15, 2022
@paddle-bot
Copy link

paddle-bot bot commented Sep 15, 2022

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档常见问题历史IssueAI社区来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQGithub Issue and AI community to get the answer.Have a nice day!

@zoooo0820
Copy link
Contributor

你好,问题已收到,我们先尝试复现一下

@pmajchrzak
Copy link

This error occurs with commit: b294f05
I reproduced it on 4 machines witch different processors architectures (SKX, CLX, CPX, SPR)

PaddlePaddle branch:

develop

CMAKE Flags:

-DCMAKE_BUILD_TYPE=Release -DWITH_GPU=OFF -DWITH_MKLDNN=ON -DWITH_TESTING=ON -DWITH_PROFILER=OFF -DWITH_STYLE_CHECK=OFF -DON_INFER=ON -DWITH_INFERENCE_API_TEST=ON -DINFERENCE_DEMO_INSTALL_DIR=/data/PaddlePaddle/pp_models -DPY_VERSION=3.6

Environment

            OS: Ubuntu18.04 with mkldnn 
 cmake version: 3.10.2
      Compiler: GCC 8.4

@paddle-bot paddle-bot bot added status/following-up 跟进中 and removed status/new-issue 新建 labels Sep 16, 2022
@engineer1109
Copy link
Contributor Author

It will not happened on release/v2.4.
Because v2.4 do not have

  ~TensorWrapper() { Py_XDECREF(packed_value_); }

@pmajchrzak
Copy link

Yes, but we are testing the performance and functionality of direct model optimization on the develop branch.
This should be fixed asap on this branch.

@engineer1109
Copy link
Contributor Author

#46231 Fixes

@engineer1109
Copy link
Contributor Author

#46259

@engineer1109
Copy link
Contributor Author

#46259 merged and fixed

@paddle-bot paddle-bot bot added status/close 已关闭 and removed status/following-up 跟进中 labels Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Intel status/close 已关闭 type/build 编译/安装问题
Projects
None yet
Development

No branches or pull requests

3 participants