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
如标题,在测试时通过GPU和CPU加载模型转换为flm模型后,推理速度几乎一样。
The text was updated successfully, but these errors were encountered:
编译的时候得选择是否使用CUDA
Sorry, something went wrong.
现在可以在创建模型前llm.set_device_map("cpu"),然后可以在cpu上运行(建议配合llm.set_cpu_thread()来设定cpu核数)
No branches or pull requests
如标题,在测试时通过GPU和CPU加载模型转换为flm模型后,推理速度几乎一样。
The text was updated successfully, but these errors were encountered: