mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 01:05:09 +02:00
add alt umt5xxl tensor name (#1813)
This commit is contained in:
@@ -253,6 +253,9 @@ std::string kcpp_fix_wrong_img_tensor_name(const std::string& name) //kcpp funct
|
||||
if (starts_with(name, "text_encoders.qwen25_7b.transformer.visual.")) {
|
||||
return "text_encoders.qwen2vl.visual." + name.substr(strlen("text_encoders.qwen25_7b.transformer.visual."));
|
||||
}
|
||||
if (starts_with(name, "text_encoders.umt5xxl.")) {
|
||||
return "text_encoders.t5xxl." + name.substr(strlen("text_encoders.umt5xxl."));
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user