mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-10-26 07:04:10 +08:00
feat: add Iris-3B text-to-image support (#2117)
This commit is contained in:
@@ -556,6 +556,10 @@ SDVersion ModelLoader::get_sd_version() const {
|
||||
tensor_storage_map.find("model.diffusion_model.audio_patch_proj.weight") != tensor_storage_map.end()) {
|
||||
return VERSION_MINIMAX_H3;
|
||||
}
|
||||
if (name == "model.diffusion_model.y_embedder.layer_pool.weight" &&
|
||||
tensor_storage_map.count("model.diffusion_model.modulation_cores.adaln_img.weight")) {
|
||||
return VERSION_IRIS;
|
||||
}
|
||||
if (tensor_storage.name.find("model.diffusion_model.blocks.0.cross_attn.norm_k.weight") != std::string::npos) {
|
||||
is_wan = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user