We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 112ac3a commit e73bc3aCopy full SHA for e73bc3a
1 file changed
stable-diffusion.cpp
@@ -1440,6 +1440,11 @@ class StableDiffusionGGML {
1440
LOG_WARN("OOR");
1441
}
1442
1443
+ if(!decode){
1444
+ // TODO: also use and arg for this one?
1445
+ // to keep the compute buffer size consistent
1446
+ tile_size*=1.30539;
1447
+ }
1448
if (!use_tiny_autoencoder) {
1449
if (decode) {
1450
ggml_tensor_scale(x, 1.0f / scale_factor);
0 commit comments