feat: add MiniT2I support (#1683)

This commit is contained in:
KenForever authored and GitHub committed 2026-07-02 00:46:51 +08:00
1 parent 1a13107bac
commit 3590aa8d62
13 files changed
+1006 -12

No files matched your search

+3
View File
@@ -472,6 +472,9 @@ SDVersion ModelLoader::get_sd_version() {
tensor_storage_map.find("model.diffusion_model.transformer_blocks.0.img_mlp.w1.weight") != tensor_storage_map.end()) {
return VERSION_LENS;
}
if (tensor_storage.name.find("net.img_embedder.proj1.weight") != std::string::npos) {
return VERSION_MINIT2I;
}
if (tensor_storage.name.find("model.diffusion_model.transformer_blocks.0.img_mod.1.weight") != std::string::npos) {
return VERSION_QWEN_IMAGE;
}