mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-07-28 22:00:52 -05:00
fix: correct tae for models that use the flux2 vae (#1571)
This commit is contained in:
@@ -584,7 +584,7 @@ public:
|
||||
TAESD(bool decode_only = true, SDVersion version = VERSION_SD1)
|
||||
: decode_only(decode_only) {
|
||||
bool use_midblock_gn = false;
|
||||
taef2 = sd_version_is_flux2(version);
|
||||
taef2 = sd_version_uses_flux2_vae(version);
|
||||
|
||||
if (sd_version_is_dit(version)) {
|
||||
z_channels = 16;
|
||||
|
||||
Reference in New Issue
Block a user