Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

v2版本paddle.layer.fc,开启sparse_update,出core

Open zjgtan opened this issue 9 years ago • 1 comments

背景: 训练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

zjgtan avatar Oct 30 '17 02:10 zjgtan

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 ?

typhoonzero avatar Oct 30 '17 06:10 typhoonzero