MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / get_split_files

Function get_split_files

common/download.cpp:551–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549}
550
551static hf_cache::hf_files get_split_files(const hf_cache::hf_files & files,
552 const hf_cache::hf_file & file) {
553 auto split = get_gguf_split_info(file.path);
554
555 if (split.count <= 1) {
556 return {file};
557 }
558 hf_cache::hf_files result;
559
560 for (const auto & f : files) {
561 auto split_f = get_gguf_split_info(f.path);
562 if (split_f.count == split.count && split_f.prefix == split.prefix) {
563 result.push_back(f);
564 }
565 }
566 return result;
567}
568
569static hf_cache::hf_file find_best_mmproj(const hf_cache::hf_files & files,
570 const std::string & model) {

Callers 1

get_hf_planFunction · 0.85

Calls 2

get_gguf_split_infoFunction · 0.70
push_backMethod · 0.45

Tested by

no test coverage detected