Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions common/download.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,9 @@ static hf_cache::hf_files get_split_files(const hf_cache::hf_files & files,
result.push_back(f);
}
}
std::sort(result.begin(), result.end(), [](const hf_cache::hf_file & a, const hf_cache::hf_file & b){
return get_gguf_split_info(a.path).index < get_gguf_split_info(b.path).index;
});
return result;
}

Expand Down