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

Commit4943ec9

Browse files
committed
cleanup: do not force VAE type to f32 on SDXL
This seems to be a leftover from the initial SDXL support: it'snot enough to avoid NaN issues, and it's not not needed for thefixed sdxl-vae-fp16-fix .
1 parentc648001 commit4943ec9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

‎stable-diffusion.cpp‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -292,11 +292,6 @@ class StableDiffusionGGML {
292292
model_loader.set_wtype_override(wtype);
293293
}
294294

295-
if (sd_version_is_sdxl(version)) {
296-
vae_wtype = GGML_TYPE_F32;
297-
model_loader.set_wtype_override(GGML_TYPE_F32,"vae.");
298-
}
299-
300295
LOG_INFO("Weight type: %s",ggml_type_name(model_wtype));
301296
LOG_INFO("Conditioner weight type: %s",ggml_type_name(conditioner_wtype));
302297
LOG_INFO("Diffusion model weight type: %s",ggml_type_name(diffusion_model_wtype));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp