chatglm.cpp
chatglm.cpp copied to clipboard
成功转换chatglm2-6b 后,cmake 报错
使用命令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.
尝试先 git submodule update --init --recursive 拉取 git submodules,然后重新编译看看
make 过程中报 chatglm.cpp/chatglm.h:546:13: error: no matching function for call to 'ggml_scale_inplace' 通过 git submodule update --init --recursive 再 make 可以了