ggml-org/llama.cpp

common: download from URL, improve parallel download progress status

Geschlossen

#6.537 geöffnet am 08.04.2024

 (7 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C++ (21.764 Forks)batch import
enhancementgood first issuehelp wantedsplit

Repository-Metriken

Stars
 (124.134 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 6T 8h) (389 gemergte PRs in 30 T)

Beschreibung

Context

When downloading a sharded model, files are downloaded in parallel, it was added in:

  • #6192

The progressions of each download conflict: image

Need to properly implement CURLOPT_NOPROGRESS for parallel download.

Example in #6515:

main --hf-repo ggml-org/models \
  --hf-file grok-1/grok-1-q4_0-00001-of-00009.gguf \
  --model   models/grok-1-q4_0-00001-of-00009.gguf \
  -ngl 64
   --prompt "I believe the meaning of life is"

Contributor Guide