Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit200cb6f

Browse files
authored
fix: avoid crash with VAE tiling and certain image sizes (#1090)
1 parent43a70e8 commit200cb6f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎ggml_extend.hpp‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -848,8 +848,6 @@ __STATIC_INLINE__ void sd_tiling_non_square(ggml_tensor* input,
848848
LOG_DEBUG("num tiles : %d, %d", num_tiles_x, num_tiles_y);
849849
LOG_DEBUG("optimal overlap : %f, %f (targeting %f)", tile_overlap_factor_x, tile_overlap_factor_y, tile_overlap_factor);
850850

851-
GGML_ASSERT(input_width %2 ==0 && input_height %2 ==0 && output_width %2 ==0 && output_height %2 ==0);// should be multiple of 2
852-
853851
int tile_overlap_x = (int32_t)(p_tile_size_x * tile_overlap_factor_x);
854852
int non_tile_overlap_x = p_tile_size_x - tile_overlap_x;
855853

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp