Skip to content

Commit 1c07628

Browse files
committed
Fix path to gguf_dump.py
1 parent 1887a24 commit 1c07628

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/server.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ try {
179179
# We are trying to extract model details from the GGUF file.
180180
# https://github.com/ggerganov/ggml/blob/master/docs/gguf.md#llm
181181
# TODO: Find a robust way to resolve this values.
182-
$modelData = Invoke-Expression "python ${llamaCppPath}\gguf-py\scripts\gguf_dump.py --no-tensors `"${model}`""
182+
$modelData = Invoke-Expression "python ${llamaCppPath}\gguf-py\gguf\scripts\gguf_dump.py --no-tensors `"${model}`""
183183
$modelContextLength = [Int]($modelData | Select-String -Pattern '\bcontext_length = (\d+)\b').Matches.Groups[1].Value
184184
$modelHeadCount = [Int]($modelData | Select-String -Pattern '\bhead_count = (\d+)\b').Matches.Groups[1].Value
185185
$modelBlockCount = [Int]($modelData | Select-String -Pattern '\bblock_count = (\d+)\b').Matches.Groups[1].Value

vendor/llama.cpp

0 commit comments

Comments
 (0)