From cdf55d9251dd4da1cf6c818463786c7464b3fc23 Mon Sep 17 00:00:00 2001 From: Finn Kumkar Date: Tue, 18 Jun 2024 15:20:50 +0200 Subject: [PATCH] Fix binary names --- quantize_weights_for_llama.cpp.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quantize_weights_for_llama.cpp.ps1 b/quantize_weights_for_llama.cpp.ps1 index 9eea914..84f891b 100644 --- a/quantize_weights_for_llama.cpp.ps1 +++ b/quantize_weights_for_llama.cpp.ps1 @@ -73,7 +73,7 @@ ForEach ($repositoryName in $repositoryDirectories) { Write-Host "Computing importance matrix for ${unquantizedModelPath} at ${importanceMatrixPath}..." -ForegroundColor "DarkYellow" - $matrixCommand = "${llamaCppDirectory}\build\bin\Release\imatrix.exe" + $matrixCommand = "${llamaCppDirectory}\build\bin\Release\llama-imatrix.exe" Invoke-Expression "$matrixCommand -m `"${unquantizedModelPath}`" -f `"${trainingDataPath}`" -o `"${importanceMatrixPath}`" -ngl 99" } @@ -82,7 +82,7 @@ ForEach ($repositoryName in $repositoryDirectories) { Write-Host "Quantizing ${unquantizedModelPath} to ${quantizedModelPath}..." -ForegroundColor "DarkYellow" - $quantizeCommand = "${llamaCppDirectory}\build\bin\Release\quantize.exe" + $quantizeCommand = "${llamaCppDirectory}\build\bin\Release\llama-quantize.exe" if ($requiresImportanceMatrix) { $quantizeCommand = "${quantizeCommand} --imatrix `"${importanceMatrixPath}`""