feat: add lingbot video support (#1770)

This commit is contained in:
leejet
2026-07-11 17:50:59 +08:00
committed by GitHub
parent c79d24bdbd
commit b5d812008e
10 changed files with 934 additions and 29 deletions
+3
View File
@@ -533,6 +533,9 @@ SDVersion ModelLoader::get_sd_version() {
if (tensor_storage.name.find("model.diffusion_model.blocks.0.cross_attn.norm_k.weight") != std::string::npos) {
is_wan = true;
}
if (tensor_storage.name.find("model.diffusion_model.patch_embedder.weight") != std::string::npos) {
return VERSION_LINGBOT_VIDEO;
}
if (tensor_storage.name.find("model.diffusion_model.patch_embedding.weight") != std::string::npos) {
patch_embedding_channels = tensor_storage.ne[3];
}