Skip to content

Commit 5804195

Browse files
authored
Update stable-diffusion.cpp
1 parent 5f441ab commit 5804195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stable-diffusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ class StableDiffusionGGML {
537537
LOG_INFO("running in Flux FLOW mode");
538538
float shift = 1.0f; // TODO: validate
539539
for (auto pair : model_loader.tensor_storages_types) {
540-
if (pair.first.find("model.diffusion_model.guidance_in.in_layer.weight") != std::string::npos) {
540+
if (pair.first.find("model.diffusion_model.guidance_in.in_layer.weight") != std::string::npos || pair.first.find("model.diffusion_model.guidance_in.in_layer.A") != std::string::npos) {
541541
shift = 1.15f;
542542
break;
543543
}

0 commit comments

Comments
 (0)