We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 925e7a0 commit b06ecf0Copy full SHA for b06ecf0
1 file changed
stable-diffusion.cpp
@@ -1107,6 +1107,11 @@ class StableDiffusionGGML {
1107
LOG_WARN("OOR");
1108
}
1109
1110
+ if(!decode){
1111
+ // TODO: also use and arg for this one?
1112
+ // to keep the compute buffer size consistent
1113
+ tile_size*=1.30539;
1114
+ }
1115
if (!use_tiny_autoencoder) {
1116
if (decode) {
1117
ggml_tensor_scale(x, 1.0f / scale_factor);
0 commit comments