llama.cpp
llama.cpp copied to clipboard
cannot execute file: binary Format error for exec()
Hi i have an error when i try to install LLama when i have to quantize the model to 4-bits i got this error : Permission not granted so i've allowed it to be execute and now i have this error: cannot execute file: binary Format error for exec()
pls help
How did you compile llama.cpp? What compiler? Did you get any errors?
i've used cmake and there is no errors
What was the command that you used to quantize?
It should be ./build/bin/quantize ./models/ggml-model-f16.bin ./models/ggml-model-q4_0.bin 2 or similar assuming you are in the llama.cpp root and that your CMake build dir is build