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

如何使用openai在gpu上启动推理服务 #8

Open
zhangyacnhao opened this issue Sep 12, 2024 · 0 comments
Open

如何使用openai在gpu上启动推理服务 #8

zhangyacnhao opened this issue Sep 12, 2024 · 0 comments

Comments

@zhangyacnhao
Copy link

MODEL=./qwen2_1.8b-ggml.bin python -m uvicorn qwen_cpp.openai_api:app --host 127.0.0.1 --port 8000 这种方式模型启动是运行在cpu上,使用build/bin/main是在gpu上,如何使用openai的方式设置只在gpu上启动模型服务

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

1 participant