diff --git a/.github/workflows/convert-model-all-quant.yml b/.github/workflows/convert-model-all-quant.yml index 4b4ede5..856df3c 100644 --- a/.github/workflows/convert-model-all-quant.yml +++ b/.github/workflows/convert-model-all-quant.yml @@ -97,7 +97,9 @@ jobs: - name: Build lib for quantize run: | - cd llama.cpp && make + cd llama.cpp + cmake -B build + cmake --build build --config Release cd ../../ - name: Convert to GGUF @@ -130,7 +132,7 @@ jobs: for quant in "${quant_levels[@]}"; do mkdir -p /mnt/models/${{ env.MODEL_NAME }}/gguf/${quant}/ - [ ! -f /mnt/models/${{ env.MODEL_NAME }}/gguf/${quant}/model.gguf ] && ./llama.cpp/llama-quantize /mnt/models/${{ env.MODEL_NAME }}/gguf/model-origin.gguf /mnt/models/${{ env.MODEL_NAME }}/gguf/${quant}/model.gguf ${quant_map[${quant}]} + [ ! -f /mnt/models/${{ env.MODEL_NAME }}/gguf/${quant}/model.gguf ] && ./llama.cpp/build/bin/llama-quantize /mnt/models/${{ env.MODEL_NAME }}/gguf/model-origin.gguf /mnt/models/${{ env.MODEL_NAME }}/gguf/${quant}/model.gguf ${quant_map[${quant}]} done rm -rf /mnt/models/${{ env.MODEL_NAME }}/gguf/model-origin.gguf