@@ -67,13 +67,11 @@ export const buildMultidiffusionUpscaleGraph = async (state: RootState): Promise
67
67
g . addEdge ( unsharpMask , 'width' , noise , 'width' ) ;
68
68
g . addEdge ( unsharpMask , 'height' , noise , 'height' ) ;
69
69
70
- const effectiveTileSize = tileSize ;
71
-
72
70
const i2l = g . addNode ( {
73
71
type : 'i2l' ,
74
72
id : getPrefixedId ( 'i2l' ) ,
75
73
fp32 : vaePrecision === 'fp32' ,
76
- tile_size : effectiveTileSize ,
74
+ tile_size : tileSize ,
77
75
tiled : true ,
78
76
} ) ;
79
77
@@ -83,7 +81,7 @@ export const buildMultidiffusionUpscaleGraph = async (state: RootState): Promise
83
81
type : 'l2i' ,
84
82
id : getPrefixedId ( 'l2i' ) ,
85
83
fp32 : vaePrecision === 'fp32' ,
86
- tile_size : effectiveTileSize ,
84
+ tile_size : tileSize ,
87
85
tiled : true ,
88
86
board : getBoardField ( state ) ,
89
87
is_intermediate : false ,
@@ -92,8 +90,8 @@ export const buildMultidiffusionUpscaleGraph = async (state: RootState): Promise
92
90
const tiledMultidiffusion = g . addNode ( {
93
91
type : 'tiled_multi_diffusion_denoise_latents' ,
94
92
id : getPrefixedId ( 'tiled_multidiffusion_denoise_latents' ) ,
95
- tile_height : effectiveTileSize ,
96
- tile_width : effectiveTileSize ,
93
+ tile_height : tileSize ,
94
+ tile_width : tileSize ,
97
95
tile_overlap : tileOverlap || 128 ,
98
96
steps,
99
97
cfg_scale,
@@ -195,7 +193,7 @@ export const buildMultidiffusionUpscaleGraph = async (state: RootState): Promise
195
193
upscale_model : Graph . getModelMetadataField ( upscaleModelConfig ) ,
196
194
creativity,
197
195
structure,
198
- tile_size : effectiveTileSize ,
196
+ tile_size : tileSize ,
199
197
tile_overlap : tileOverlap || 128 ,
200
198
upscale_initial_image : {
201
199
image_name : upscaleInitialImage . image_name ,
0 commit comments