Skip to content

Commit cdf55d9

Browse files
committed
Fix binary names
1 parent e78862f commit cdf55d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quantize_weights_for_llama.cpp.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ ForEach ($repositoryName in $repositoryDirectories) {
7373

7474
Write-Host "Computing importance matrix for ${unquantizedModelPath} at ${importanceMatrixPath}..." -ForegroundColor "DarkYellow"
7575

76-
$matrixCommand = "${llamaCppDirectory}\build\bin\Release\imatrix.exe"
76+
$matrixCommand = "${llamaCppDirectory}\build\bin\Release\llama-imatrix.exe"
7777

7878
Invoke-Expression "$matrixCommand -m `"${unquantizedModelPath}`" -f `"${trainingDataPath}`" -o `"${importanceMatrixPath}`" -ngl 99"
7979
}
@@ -82,7 +82,7 @@ ForEach ($repositoryName in $repositoryDirectories) {
8282

8383
Write-Host "Quantizing ${unquantizedModelPath} to ${quantizedModelPath}..." -ForegroundColor "DarkYellow"
8484

85-
$quantizeCommand = "${llamaCppDirectory}\build\bin\Release\quantize.exe"
85+
$quantizeCommand = "${llamaCppDirectory}\build\bin\Release\llama-quantize.exe"
8686

8787
if ($requiresImportanceMatrix) {
8888
$quantizeCommand = "${quantizeCommand} --imatrix `"${importanceMatrixPath}`""

0 commit comments

Comments
 (0)