@@ -266,7 +266,7 @@ class StableDiffusionGGML {
266266 bool iswan = (tempver==VERSION_WAN2 || tempver==VERSION_WAN2_2_I2V || tempver==VERSION_WAN2_2_TI2V);
267267 bool isqwenimg = (tempver==VERSION_QWEN_IMAGE);
268268
269- // kcpp qol fallback: if qwen image, and they loaded the qwen2vl as t5 by mistake
269+ // kcpp qol fallback: if qwen image, and they loaded the qwen2vl llm as t5 by mistake
270270 if (isqwenimg && t5_path_fixed!=" " )
271271 {
272272 if (clipl_path_fixed==" " && clipg_path_fixed==" " )
@@ -301,8 +301,8 @@ class StableDiffusionGGML {
301301 }
302302 if (isqwenimg)
303303 {
304- prefix = " text_encoders.qwen2vl ." ;
305- LOG_INFO (" swap qwen2vl from '%s'" , clipl_path_fixed.c_str ());
304+ prefix = " text_encoders.llm ." ;
305+ LOG_INFO (" swap llm from '%s'" , clipl_path_fixed.c_str ());
306306 }
307307 if (!model_loader.init_from_file (clipl_path_fixed.c_str (), prefix)) {
308308 LOG_WARN (" loading clip_l from '%s' failed" , clipl_path_fixed.c_str ());
@@ -319,8 +319,8 @@ class StableDiffusionGGML {
319319 }
320320 if (isqwenimg)
321321 {
322- prefix = " text_encoders.qwen2vl .visual." ;
323- LOG_INFO (" swap qwen2vl mmproj from '%s'" , clipg_path_fixed.c_str ());
322+ prefix = " text_encoders.llm .visual." ;
323+ LOG_INFO (" swap llm mmproj from '%s'" , clipg_path_fixed.c_str ());
324324 }
325325 if (!model_loader.init_from_file (clipg_path_fixed.c_str (), prefix)) {
326326 LOG_WARN (" loading clip_g from '%s' failed" , clipg_path_fixed.c_str ());
0 commit comments