We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8d3aa0 commit a3a2b2dCopy full SHA for a3a2b2d
stable-diffusion.cpp
@@ -1510,7 +1510,7 @@ class StableDiffusionGGML {
1510
1511
ggml_tensor* get_first_stage_encoding(ggml_context* work_ctx, ggml_tensor* vae_output) {
1512
ggml_tensor* latent;
1513
- if (use_tiny_autoencoder || sd_version_is_qwen_image(version)) {
+ if (use_tiny_autoencoder || sd_version_is_qwen_image(version) || sd_version_is_wan(version)) {
1514
latent = vae_output;
1515
} else if (version == VERSION_SD1_PIX2PIX) {
1516
latent = ggml_view_3d(work_ctx,
0 commit comments