BitNet
BitNet copied to clipboard
FileNotFoundError: [Errno 2] No such file or directory: 'build/bin/llama-cli'
MacOS15.3.2 ,Apple M4 Max, can not run, all the logs no error, but when run the commands show the error
python run_inference.py -m models/BitNet-b1.58-2B-4T/ggml-model-i2_s.gguf -p "You are a helpful assistant" -cnv
Traceback (most recent call last):
File "/Volumes/OWCPSSD/BitNet/run_inference.py", line 56, in
there are two files in build/bin ,but no llama-cli ggml-common.h ggml-metal.metal
Try my related tip: https://github.com/microsoft/BitNet/issues/192#issuecomment-2818299330
same issue
build with -DLLAMA_BUILD_COMMON=ON -DLLAMA_BUILD_TOOLS=ON or just use provided llama.cpp submodule