Spaces:
Running on Zero
Running on Zero
Download backend/llama.cpp/scripts/git-bisect-run.sh from kazutab/mindmap-studio: direct link, hf CLI and curl.
- Browser
- Download file 407 Bytes
-
https://huggingface.co/spaces/kazutab/mindmap-studio/resolve/main/backend/llama.cpp/scripts/git-bisect-run.sh
- Command line
-
hf download hf://spaces/kazutab/mindmap-studio/backend/llama.cpp/scripts/git-bisect-run.sh
-
curl -L -o git-bisect-run.sh https://huggingface.co/spaces/kazutab/mindmap-studio/resolve/main/backend/llama.cpp/scripts/git-bisect-run.sh
407 Bytes
| cmake_args=() | |
| llama_results_args=() | |
| for arg in "${@}"; do | |
| if [[ "$arg" == -D* ]]; then | |
| cmake_args+=("$arg") | |
| else | |
| llama_results_args+=("$arg") | |
| fi | |
| done | |
| dir="build-bisect" | |
| rm -rf ${dir} > /dev/null | |
| cmake -B ${dir} -S . ${cmake_args} > /dev/null | |
| cmake --build ${dir} -t llama-results -j $(nproc) > /dev/null | |
| ${dir}/bin/llama-results "${llama_results_args[@]}" | |