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

关于cpp部署 #194

Open
SandroChen opened this issue Nov 20, 2023 · 2 comments
Open

关于cpp部署 #194

SandroChen opened this issue Nov 20, 2023 · 2 comments

Comments

@SandroChen
Copy link

你好,想请教一下怎么对原生的python项目做cpp的部署?就像你这样用cpp部署chatglm,我也想对自己的项目进行cpp部署,我只知道一开始需要转换成script model,后面可以用libtorch在c++里面加载,想问一下你是用这种方式的吗?如果不是的话,有什么更好的办法?

@hfyydd
Copy link

hfyydd commented Nov 21, 2023

chatglm.cpp 是用ggml写的

@li-plus
Copy link
Owner

li-plus commented Nov 22, 2023

chatglm.cpp 不是 pytorch custom op,不依赖 pytorch 了。c++ 部署的话应该可以直接依赖这个项目编译?

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