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
Labels
question
Further information is requested
Comments
gpu推理时不会有这种情况 |
paddlenlp 2.8.0 |
使用下面的环境试一下:
|
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: