PaddleNLP icon indicating copy to clipboard operation
PaddleNLP copied to clipboard

[Bug]: TaskFlow抽取摘要模型报错CUDA error 719

Open softpeng opened this issue 2 years ago • 5 comments

软件环境

- paddlepaddle: --
- paddlepaddle-gpu: 2.3.2.post116
- paddlenlp: 2.4.1

重复问题

  • [x] I have searched the existing issues

错误描述

WINDOWS SERVER 2012, NAVDIA A100, 安培架构,按照安装教程,推荐安培架构使用11.x。
我安装了
CUDA Toolkit 11.6.0:  https://developer.download.nvidia.com/compute/cuda/11.6.0/local_installers/cuda_11.6.0_511.23_windows.exe
cuDNN 8.4.0: 
https://developer.nvidia.com/compute/cudnn/secure/8.4.0/local_installers/11.6/cudnn-windows-x86_64-8.4.0.27_cuda11.6-archive.zip 

运行TaskFlow进行摘要抽取时候报如下错误:
Exception has occurred: OSError

(External) CUDA error(719), unspecified launch failure. 
  [Hint: 'cudaErrorLaunchFailure'. An exception occurred on the device while executing a kernel. Common causes include dereferencing an invalid device pointerand accessing out of bounds shared memory. Less common cases can be system specific - more information about these cases canbe found in the system specific user guide. This leaves the process in an inconsistent state and any further CUDA work willreturn the same error. To continue using CUDA, the process must be terminated and relaunched.] (at ..\paddle\phi\backends\gpu\cuda\cuda_info.cc:258)
  File "C:\Users\Administrator\Desktop\paddle\testSummary.py", line 14, in <module>
    result=summarizer(text)

稳定复现步骤 & 代码

import paddlenlp

from paddlenlp import Taskflow summarizer = Taskflow("text_summarization", model='unimo-text-1.0-summary') text="根据“十个工作日”原则,下轮调价窗口为8月23日24时。卓创资讯分析,原油价格或延续震荡偏弱走势,且新周期的原油变化率仍将负值开局,消息面对国内成品油市场并无提振。受此影响,预计国内成品油批发价格或整体呈现稳中下滑走势,但“金九银十”即将到来,卖方看好后期市场,预计跌幅较为有限。" result=summarizer(text)

print(result)

softpeng avatar Oct 25 '22 07:10 softpeng

可以先看看是不是paddle的安装的问题

import paddle 
paddle.utils.run_check()

如果check信息显示安装有问题,建议conda安装
https://www.paddlepaddle.org.cn/

wawltor avatar Oct 25 '22 08:10 wawltor

可以先看看是不是paddle的安装的问题

import paddle 
paddle.utils.run_check()

如果check信息显示安装有问题,建议conda安装 https://www.paddlepaddle.org.cn/

image run_check()没有问题。分词和信息抽取都没有问题。目前只发现 text_summarization和text_similarity有问题

softpeng avatar Oct 25 '22 08:10 softpeng

可以先看看是不是paddle的安装的问题

import paddle 
paddle.utils.run_check()

如果check信息显示安装有问题,建议conda安装 https://www.paddlepaddle.org.cn/

image run_check()没有问题。分词和信息抽取都没有问题。目前只发现 text_summarization和text_similarity有问题

显存是否有溢出了?

wawltor avatar Oct 25 '22 08:10 wawltor

可以先看看是不是paddle的安装的问题

import paddle 
paddle.utils.run_check()

如果check信息显示安装有问题,建议conda安装 https://www.paddlepaddle.org.cn/

image run_check()没有问题。分词和信息抽取都没有问题。目前只发现 text_summarization和text_similarity有问题

显存是否有溢出了?

没有显存溢出

softpeng avatar Oct 25 '22 09:10 softpeng

你好,我本地没有复现你的问题,看错误提示,应该是Paddle环境的问题。可以重装Paddle试试看:https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/conda/windows-conda.html

gongel avatar Oct 25 '22 10:10 gongel

This issue is stale because it has been open for 60 days with no activity. 当前issue 60天内无活动,被标记为stale。

github-actions[bot] avatar Dec 25 '22 00:12 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale. 当前issue 被标记为stale已有14天,即将关闭。

github-actions[bot] avatar Jan 08 '23 00:01 github-actions[bot]

请问这个问题解决了吗

Adachi324 avatar Sep 18 '23 09:09 Adachi324