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 26e3c0b commit 9fb432dCopy full SHA for 9fb432d
stable-diffusion.cpp
@@ -976,7 +976,7 @@ class StableDiffusionGGML {
976
deltas[i] = delta;
977
}
978
if (apg_params.norm_treshold > 0) {
979
- diff_norm = std::sqrtf(diff_norm);
+ diff_norm = sqrtf(diff_norm);
980
apg_scale_factor = std::min(1.0f, apg_params.norm_treshold / diff_norm);
981
982
if (apg_params.eta != 1.0f) {
0 commit comments