mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 11:26:34 +00:00
feat: add Z-Image L2P support (#2075)
This commit is contained in:
1 parent
b6947b8bdc
commit
bbdcad48dd
10 files changed
+304
-6
No files matched your search
@@ -527,6 +527,9 @@ SDVersion ModelLoader::get_sd_version() const {
|
||||
if (tensor_storage_map.find("text_encoders.llm.connector.layers.0.self_attn.q_proj.weight") != tensor_storage_map.end()) {
|
||||
return VERSION_MING_IMAGE;
|
||||
}
|
||||
if (tensor_storage_map.find("model.diffusion_model.local_decoder.out_conv.weight") != tensor_storage_map.end()) {
|
||||
return VERSION_Z_IMAGE_L2P;
|
||||
}
|
||||
return VERSION_Z_IMAGE;
|
||||
}
|
||||
if (tensor_storage.name.find("double_stream_layers.0.img_instruct_attn.processor.img_to_q.weight") != std::string::npos) {
|
||||
|
||||
Reference in new issue
Block a user