Skip to content

Commit 0c7b234

Browse files
committed
fix multi-shard download
1 parent 2966639 commit 0c7b234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/arg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ static bool common_download_model(
480480
return false;
481481
}
482482

483-
if (!llama_split_prefix(split_url_prefix, sizeof(split_url_prefix), model.path.c_str(), 0, n_split)) {
483+
if (!llama_split_prefix(split_url_prefix, sizeof(split_url_prefix), model.url.c_str(), 0, n_split)) {
484484
LOG_ERR("\n%s: unexpected model url: %s n_split=%d\n", __func__, model.url.c_str(), n_split);
485485
return false;
486486
}

0 commit comments

Comments
 (0)