-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
python setup_env.py --hf-repo 1bitLLM/bitnet_b1_58-3B --quant-type i2_s
INFO:root:Compiling the code using CMake.
ERROR:root:Error occurred while running command: Command '['cmake', '--build', 'build', '--config', 'Release']' returned non-zero exit status 2., check details in logs/compile.log
[ 19%] Linking CXX executable ../../../../bin/llama-cvector-generator
/usr/bin/ld: ../../common/libcommon.a(sampling.cpp.o): in function common_sampler_init(llama_model*, common_sampler_params&)': sampling.cpp:(.text+0x558): undefined reference to common_sampler_params::~common_sampler_params()'
/usr/bin/ld: ../../common/libcommon.a(sampling.cpp.o): in function common_sampler_clone(common_sampler*)': sampling.cpp:(.text+0xba8): undefined reference to common_sampler_params::~common_sampler_params()'
/usr/bin/ld: ../../common/libcommon.a(sampling.cpp.o): in function common_sampler::~common_sampler()': sampling.cpp:(.text._ZN14common_samplerD2Ev[_ZN14common_samplerD2Ev]+0x48): undefined reference to common_sampler_params::~common_sampler_params()'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [3rdparty/llama.cpp/examples/cvector-generator/CMakeFiles/llama-cvector-generator.dir/build.make:100: bin/llama-cvector-generator] Error 1
make[1]: *** [CMakeFiles/Makefile2:901: 3rdparty/llama.cpp/examples/cvector-generator/CMakeFiles/llama-cvector-generator.dir/all] Error 2
make: *** [Makefile:136: all] Error 2