Skip to content

Commit 37a479f

Browse files
committed
download: fix mtp path
1 parent 0f6f0d6 commit 37a479f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/download.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ std::vector<common_cached_model_info> common_list_cached_models() {
975975
auto split = get_gguf_split_info(f.path);
976976
if (split.index != 1 || split.tag.empty() ||
977977
split.prefix.find("mmproj") != std::string::npos ||
978-
split.prefix.find("MTP") != std::string::npos) {
978+
split.prefix.find("mtp-") != std::string::npos) {
979979
continue;
980980
}
981981
if (seen.insert(f.repo_id + ":" + split.tag).second) {

0 commit comments

Comments
 (0)