@@ -369,7 +369,7 @@ class StableDiffusionGGML {
369369 diffusion_model = std::make_shared<MMDiTModel>(backend,
370370 offload_params_to_cpu,
371371 sd_ctx_params->diffusion_flash_attn ,
372- model_loader.tensor_storages_types );
372+ model_loader.tensor_storages_types );
373373 } else if (sd_version_is_flux (version)) {
374374 bool is_chroma = false ;
375375 for (auto pair : model_loader.tensor_storages_types ) {
@@ -443,11 +443,11 @@ class StableDiffusionGGML {
443443 " " ,
444444 enable_vision);
445445 diffusion_model = std::make_shared<QwenImageModel>(backend,
446- offload_params_to_cpu,
447- model_loader.tensor_storages_types ,
448- " model.diffusion_model" ,
449- version,
450- sd_ctx_params->diffusion_flash_attn );
446+ offload_params_to_cpu,
447+ model_loader.tensor_storages_types ,
448+ " model.diffusion_model" ,
449+ version,
450+ sd_ctx_params->diffusion_flash_attn );
451451 } else { // SD1.x SD2.x SDXL
452452 if (strstr (SAFE_STR (sd_ctx_params->photo_maker_path ), " v2" )) {
453453 cond_stage_model = std::make_shared<FrozenCLIPEmbedderWithCustomWords>(clip_backend,
@@ -1157,7 +1157,7 @@ class StableDiffusionGGML {
11571157
11581158 if (preview_mode == PREVIEW_PROJ) {
11591159 const float (*latent_rgb_proj)[channel] = NULL ;
1160- float * latent_rgb_bias = NULL ;
1160+ float * latent_rgb_bias = NULL ;
11611161
11621162 if (dim == 48 ) {
11631163 if (sd_version_is_wan (version)) {
@@ -1214,7 +1214,7 @@ class StableDiffusionGGML {
12141214
12151215 uint8_t * data = (uint8_t *)malloc (frames * width * height * channel * sizeof (uint8_t ));
12161216
1217- preview_latent_video (data, latents, latent_rgb_proj,latent_rgb_bias, width, height, frames, dim);
1217+ preview_latent_video (data, latents, latent_rgb_proj, latent_rgb_bias, width, height, frames, dim);
12181218 sd_image_t * images = (sd_image_t *)malloc (frames * sizeof (sd_image_t ));
12191219 for (int i = 0 ; i < frames; i++) {
12201220 images[i] = {width, height, channel, data + i * width * height * channel};
@@ -1274,7 +1274,7 @@ class StableDiffusionGGML {
12741274 }
12751275
12761276 step_callback (step, frames, images, is_noisy);
1277-
1277+
12781278 ggml_tensor_scale (result, 0 );
12791279 for (int i = 0 ; i < frames; i++) {
12801280 free (images[i].data );
0 commit comments