v2版本paddle.layer.fc,开启sparse_update,出core
背景: 训练dssm模型,source_input是稀疏输入(paddle.data_type.sparse_binary_vector),fc layer设置sparse_update如下: layer = paddle.layer.fc( name = name, input = input, size = dim, act = paddle.activation.Tanh(), param_attr = ParamAttr(name = "%s.w", sparse_update = True)
问题:跑mpi任务是出core,如下 Thread [140270561396480] Forwarding left_fc_1_64, *** Aborted at 1509278969 (unix time) try "date -d @1509278969" if you are using GNU date *** PC: @ 0x0 (unknown) :*** SIGSEGV (@0x0) received by PID 20541 (TID 0x7f9348fc0700) from PID 0; stack trace: *** @ 0x7f944c5ee160 (unknown) @ 0x7f9447c807ec mkl_blas_avx2_sgemm_kernel_0 ./train.sh: line 239: 20541 Segmentation fault python27-gcc482/bin/python conf/trainer_config.conf
Can you please add the full stack trace of the error for more information?
The error mkl_blas_avx2_sgemm_kernel_0 seems like have something to do with mkl. The binaries which "receiver" provide is not compiled with mkl I remember, are you using self compiled version of paddle @zjgtan ?