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

上下文推理时速度会变慢,请问应该怎么解决? #293

Open
youranjvshi123 opened this issue Apr 24, 2024 · 2 comments
Open

Comments

@youranjvshi123
Copy link

模型转换的是q4_0的,在执行examples/cli_demo.py -m chatglm-ggml.bin -i 时,从第二轮对话开始推理速度就会变的越来越慢,请问应该怎么解决?

@Wannazl
Copy link

Wannazl commented May 6, 2024

so eazy ! 优化下代码就行了

@youranjvshi123
Copy link
Author

so eazy ! 优化下代码就行了

大神,请问代码应该怎么优化?

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

2 participants