Skip to content

Distribute and run LLMs with a single file.

Temp fix to fetch-ui-assets (increase #elements in pagination)

Davide Eynard1ef985e78292
diff --git a/llama.cpp.patches/fetch-ui-assets.sh b/llama.cpp.patches/fetch-ui-assets.sh
index c77bada1..86d1e320 100755
--- a/llama.cpp.patches/fetch-ui-assets.sh
+++ b/llama.cpp.patches/fetch-ui-assets.sh
@@ -35,7 +35,7 @@ UI_DIST="$LLAMA_DIR/tools/ui/dist"
# with a `Link: <...>; rel="next"` header for the following page.
pick_ui_tag() {
local cur="$1"
- local url="${HF_TREE_API}?limit=100&recursive=false"
+ local url="${HF_TREE_API}?limit=1000&recursive=false"
local hdrs best="" n saw_newer guard=0 body
hdrs="$(mktemp)"
while [ -n "$url" ] && [ "$guard" -lt 100 ]; do