Skip to content

Commit f404ed5

Browse files
committed
fix tile size calculation
1 parent e677cae commit f404ed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stable-diffusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ class StableDiffusionGGML {
15271527
int tile_size_y = 32;
15281528

15291529
get_vae_tile_overlap(tile_overlap);
1530-
get_vae_tile_sizes(tile_size_x, tile_size_y, tile_overlap, x->ne[0] / 8, x->ne[1] / 8);
1530+
get_vae_tile_sizes(tile_size_x, tile_size_y, tile_overlap, x->ne[0], x->ne[1]);
15311531

15321532
process_latent_out(x);
15331533
// x = load_tensor_from_file(work_ctx, "wan_vae_z.bin");

0 commit comments

Comments
 (0)