Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

cudaStreamSynchronize unspecified launch failure errno:4

Open apphpp opened this issue 7 years ago • 2 comments

paddle 模型训练完,预测时遇到这个错误;并且是在预测完N个step之后报的错。 报错位置固定:即相同配置和数据下,多次运行都是到N step后报错;但修改batch大小 具体报错位置发生变化。
错误稳定复现,在P4/P40机器上都复现,位置固定如上述。 环境为:python3, paddle1.5; nccl2.3.7_cuda9.0, cudnn_v7, cuda-9.0 并行方式:单机单卡

apphpp avatar Aug 14 '19 02:08 apphpp

模型信息: 模型主体为BERT 的MaskLanguageModel 预测任务,数据为自己修改的输入输出

apphpp avatar Aug 14 '19 02:08 apphpp

定位问题为:环境没问题;实际为运行流程出错,加载了错误的checkpoint

apphpp avatar Aug 14 '19 10:08 apphpp