mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-10-28 07:23:20 +08:00
feat: add moss-image support (#2148)
This commit is contained in:
@@ -444,6 +444,11 @@ SDVersion ModelLoader::get_sd_version() const {
|
||||
return VERSION_FLUX3;
|
||||
}
|
||||
|
||||
if (tensor_storage_map.count("model.diffusion_model.video_embedder.weight") &&
|
||||
tensor_storage_map.count("model.diffusion_model.shared_block_modulation.weight")) {
|
||||
return VERSION_MOSS_IMAGE;
|
||||
}
|
||||
|
||||
bool has_multiple_encoders = false;
|
||||
bool is_unet = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user