-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Question]: 文本分类时,taskflow推理gpu和cpu推理结果非常不一致,cpu推理结果还不稳定 #8340
Comments
gpu推理时不会有这种情况 |
paddlenlp 2.8.0 |
使用下面的环境试一下:
|
This issue is stale because it has been open for 60 days with no activity. 当前issue 60天内无活动,被标记为stale。 |
This issue was closed because it has been inactive for 14 days since being marked as stale. 当前issue 被标记为stale已有14天,即将关闭。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请提出你的问题
intent = Taskflow("text_classification", task_path='./model/dianping', is_static_model=True, precision='fp32')
[2024-04-28 18:22:13,105] [ INFO] - We are using <class 'paddlenlp.transformers.ernie.tokenizer.ErnieTokenizer'> to load './model/dianping'.
[2024-04-28 18:22:14,642] [ INFO] - Load id2label from ./model/dianping/id2label.json.
The text was updated successfully, but these errors were encountered: