feat: add minimax-h3 support (#1854)

This commit is contained in:
leejet
2026-08-04 23:14:18 +08:00
committed by GitHub
parent b4e67d1221
commit ea7f0c87cf
26 changed files with 4293 additions and 91 deletions
+4
View File
@@ -537,6 +537,10 @@ SDVersion ModelLoader::get_sd_version() {
if (tensor_storage.name.find("model.diffusion_model.adaln_single.emb.timestep_embedder.linear_1.bias") != std::string::npos) {
return VERSION_LTXAV;
}
if (tensor_storage.name.find("model.diffusion_model.video_patch_proj.weight") != std::string::npos &&
tensor_storage_map.find("model.diffusion_model.audio_patch_proj.weight") != tensor_storage_map.end()) {
return VERSION_MINIMAX_H3;
}
if (tensor_storage.name.find("model.diffusion_model.blocks.0.cross_attn.norm_k.weight") != std::string::npos) {
is_wan = true;
}