Skip to content

common : allow --offline in llama download#25091

Merged
ngxson merged 1 commit into
ggml-org:masterfrom
angt:common-allow-offline-in-llama-download
Jun 28, 2026
Merged

common : allow --offline in llama download#25091
ngxson merged 1 commit into
ggml-org:masterfrom
angt:common-allow-offline-in-llama-download

Conversation

@angt

@angt angt commented Jun 28, 2026

Copy link
Copy Markdown
Member

Overview

Expose the existing --offline flag to llama download so a script can run it to check whether a model is already cached and ready to be served without touching the network.

Additional information

Also fix a latent use-after-free in the URL-task on_done callback: first_path is block-scoped and was captured by reference, but invoked after the block ends.

Requirements

Expose the existing --offline flag to `llama download` so a script can
run it to check whether a model is already cached and ready to be served
without touching the network.

Also fix a latent use-after-free in the URL-task on_done callback:
first_path is block-scoped and was captured by reference, but invoked
after the block ends.

Signed-off-by: Adrien Gallouët <angt@huggingface.co>
@angt angt requested a review from a team as a code owner June 28, 2026 05:22
@ngxson ngxson merged commit c1a1c8e into ggml-org:master Jun 28, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants