We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f441ab commit 5804195Copy full SHA for 5804195
stable-diffusion.cpp
@@ -537,7 +537,7 @@ class StableDiffusionGGML {
537
LOG_INFO("running in Flux FLOW mode");
538
float shift = 1.0f; // TODO: validate
539
for (auto pair : model_loader.tensor_storages_types) {
540
- if (pair.first.find("model.diffusion_model.guidance_in.in_layer.weight") != std::string::npos) {
+ 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) {
541
shift = 1.15f;
542
break;
543
}
0 commit comments