Skip to content

Commit 646e776

Browse files
authored
fix: fix tiles_ctx not freed in sd_tiling (#219)
1 parent 3ac48ea commit 646e776

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ggml_extend.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@ __STATIC_INLINE__ void sd_tiling(ggml_tensor* input, ggml_tensor* output, const
484484
if (tile_count < num_tiles) {
485485
pretty_progress(num_tiles, num_tiles, last_time);
486486
}
487+
ggml_free(tiles_ctx);
487488
}
488489

489490
__STATIC_INLINE__ struct ggml_tensor* ggml_group_norm_32(struct ggml_context* ctx,

0 commit comments

Comments
 (0)