Download llama.cpp/scripts/build-cpu.sh from Mat17892/iris: direct link, hf CLI and curl.
- Browser
- Download file 313 Bytes
-
https://huggingface.co/spaces/Mat17892/iris/resolve/main/llama.cpp/scripts/build-cpu.sh
- Command line
-
hf download hf://spaces/Mat17892/iris/llama.cpp/scripts/build-cpu.sh
-
curl -L -o build-cpu.sh https://huggingface.co/spaces/Mat17892/iris/resolve/main/llama.cpp/scripts/build-cpu.sh
313 Bytes
| name="$1" | |
| args="${@:2}" | |
| echo "Building $name with args: $args" | |
| rm -fr build-cpu-$1 | |
| cmake -S . -B build-cpu-$1 -DGGML_BACKEND_DL=ON -DGGML_NATIVE=OFF $args | |
| cmake --build build-cpu-$1 --config Release -t ggml-cpu -j $(nproc) | |
| cp build-cpu-$1/bin/libggml-cpu.so ./libggml-cpu-$1.so | |
| rm -fr build-cpu-$1 | |