fix: optimize the handling of CLIP embedding weight (#840)

This commit is contained in:
leejet
2025-09-25 00:28:20 +08:00
committed by GitHub
parent f3140eadbb
commit 2abe9451c4
2 changed files with 7 additions and 4 deletions

View File

@@ -2422,6 +2422,8 @@ bool ModelLoader::tensor_should_be_converted(const TensorStorage& tensor_storage
// Pass, do not convert. For MMDiT
} else if (contains(name, "time_embed.") || contains(name, "label_emb.")) {
// Pass, do not convert. For Unet
} else if (contains(name, "embedding")) {
// Pass, do not convert embedding
} else {
return true;
}