ggml-org/llama.cpp

common: download from URL, improve parallel download progress status

Closed

#6,537 opened on Apr 8, 2024

 (7 comments) (0 reactions) (1 assignee)C++ (21,764 forks)batch import
enhancementgood first issuehelp wantedsplit

Repository metrics

Stars
 (124,134 stars)
PR merge metrics
 (Avg merge 6d 8h) (389 merged PRs in 30d)

Description

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