chatglm.cpp icon indicating copy to clipboard operation
chatglm.cpp copied to clipboard

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

Open AndyChinghaha opened this issue 2 years ago • 2 comments

使用命令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.

AndyChinghaha avatar Oct 16 '23 10:10 AndyChinghaha

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

li-plus avatar Oct 29 '23 13:10 li-plus

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

denganhui avatar Feb 03 '24 12:02 denganhui