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 83078c2 commit 11a3bf4Copy full SHA for 11a3bf4
stable-diffusion.cpp
@@ -980,7 +980,7 @@ class StableDiffusionGGML {
980
deltas[i] = delta;
981
}
982
if (apg_params.norm_treshold > 0) {
983
- diff_norm = std::sqrtf(diff_norm);
+ diff_norm = sqrtf(diff_norm);
984
apg_scale_factor = std::min(1.0f, apg_params.norm_treshold / diff_norm);
985
986
if (apg_params.eta != 1.0f) {
0 commit comments