We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
lanchain_api 运行的时候只有8个线程,CPU只使用了一半,如何提高CPU利用率,比如增加线程数?
The text was updated successfully, but these errors were encountered:
Pipeline.chat 里面有 num_threads 参数,默认是物理核的数量,可以调节下这个参数增加线程数。参考
Pipeline.chat
num_threads
chatglm.cpp/examples/web_demo.py
Line 45 in b071907
Sorry, something went wrong.
No branches or pull requests
lanchain_api 运行的时候只有8个线程,CPU只使用了一半,如何提高CPU利用率,比如增加线程数?
The text was updated successfully, but these errors were encountered: