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

输出速度好慢 #11

Open
omaidb opened this issue Jul 29, 2024 · 3 comments
Open

输出速度好慢 #11

omaidb opened this issue Jul 29, 2024 · 3 comments

Comments

@omaidb
Copy link

omaidb commented Jul 29, 2024

输出速度真是难以置信的慢,能否优化一下它的输出速度啊。
需求1:例如,我想上传txt文本给它,让它进行学习,但是不能上传文件给它。

@rnchg
Copy link
Owner

rnchg commented Jul 30, 2024

默认使用CPU进行推理,在中文模式下的确会比较慢,后续版本想办法优化,以及增加上传图片和文档功能。

@omaidb
Copy link
Author

omaidb commented Jul 31, 2024

默认使用CPU进行推理,在中文模式下的确会比较慢,后续版本想办法优化,以及增加上传图片和文档功能。

我本地有nvdia显卡,能设置使用nvdia显卡推理嘛

@dongfangzhizhu
Copy link

你们编译成功了吗,理论上把onnxruntime替换成对应平台版本的onnxruntime-gpu,配置cuda环境就可以使用显卡推理了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants