We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a45184 commit a0df2a5Copy full SHA for a0df2a5
1 file changed
stable-diffusion.cpp
@@ -1068,6 +1068,11 @@ class StableDiffusionGGML {
1068
LOG_WARN("OOR");
1069
}
1070
1071
+ if(!decode){
1072
+ // TODO: also use and arg for this one?
1073
+ // to keep the compute buffer size consistent
1074
+ tile_size*=1.30539;
1075
+ }
1076
if (!use_tiny_autoencoder) {
1077
if (decode) {
1078
ggml_tensor_scale(x, 1.0f / scale_factor);
0 commit comments