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

[Bug]: ie = Taskflow("information_extraction", schema=schema, model="uie-x-base") 报错segment fault #7520

Closed
1 task done
sisrfeng opened this issue Nov 24, 2023 · 4 comments
Labels
bug Something isn't working stale

Comments

@sisrfeng
Copy link

软件环境

- paddlepaddle: 2.5.2
- paddlepaddle-gpu: 2.5.2 
- paddlenlp: 2.6.1

重复问题

  • I have searched the existing issues

错误描述

如题

稳定复现步骤 & 代码

import paddle
# paddle.set_device("cpu")
from pprint import pprint
from paddlenlp import Taskflow
schema = ["收发货人", "进口口岸", "进口日期", "运输方式", "征免性质", "境内目的地", "运输工具名称", "包装种类", "件数", "合同协议号"]
ie = Taskflow("information_extraction", schema=schema, model="uie-x-base")
print(ie({"doc": "/home/wf/d/coolS/PaddleNLP/applications/information_extraction/document/data/images/b1.jpg"}))

在python3.10 cuda11.7 cudnn8.5上, ie =Taskflow那行报错 segment fault

@sisrfeng sisrfeng added the bug Something isn't working label Nov 24, 2023
@sisrfeng
Copy link
Author

PaddleNLP/applications/information_extraction/document下, 按说明里的敲python finetune.py ...也报segment fault

Copy link

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

@github-actions github-actions bot added the stale label Jan 24, 2024
Copy link

github-actions bot commented Feb 8, 2024

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

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2024
@sisrfeng
Copy link
Author

sisrfeng commented Feb 9, 2024

显卡驱动 cuda等版本的问题. 用paddle的CPU版没这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

1 participant