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

成功转换chatglm2-6b 后,cmake 报错 #145

Open
AndyChinghaha opened this issue Oct 16, 2023 · 2 comments
Open

成功转换chatglm2-6b 后,cmake 报错 #145

AndyChinghaha opened this issue Oct 16, 2023 · 2 comments

Comments

@AndyChinghaha
Copy link

使用命令cmake -B build,出现错误:
CMake Error at CMakeLists.txt:19 (add_subdirectory):
The source directory

/root/autodl-tmp/chatglm.cpp/third_party/ggml

does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:24 (add_subdirectory):
The source directory

/root/autodl-tmp/chatglm.cpp/third_party/sentencepiece

does not contain a CMakeLists.txt file.

@li-plus
Copy link
Owner

li-plus commented Oct 29, 2023

尝试先 git submodule update --init --recursive 拉取 git submodules,然后重新编译看看

@denganhui
Copy link

make 过程中报 chatglm.cpp/chatglm.h:546:13: error: no matching function for call to 'ggml_scale_inplace'
通过 git submodule update --init --recursive
再 make 可以了

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