diff options
author | Kohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com> | 2023-08-04 05:38:52 +0000 |
---|---|---|
committer | Kohaku-Blueleaf <59680068+KohakuBlueleaf@users.noreply.github.com> | 2023-08-04 05:38:52 +0000 |
commit | 75336dfc84cae280036bc52a6805eb10d9ae30ba (patch) | |
tree | 449e515435a3f1208fe8ab18f44f58131bda1232 /modules/sd_vae_approx.py | |
parent | 3f9e09a615e26a90f914f45051264fbf3609e146 (diff) | |
download | stable-diffusion-webui-gfx803-75336dfc84cae280036bc52a6805eb10d9ae30ba.tar.gz stable-diffusion-webui-gfx803-75336dfc84cae280036bc52a6805eb10d9ae30ba.tar.bz2 stable-diffusion-webui-gfx803-75336dfc84cae280036bc52a6805eb10d9ae30ba.zip |
add TAESD for i2i and t2i
Diffstat (limited to 'modules/sd_vae_approx.py')
-rw-r--r-- | modules/sd_vae_approx.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sd_vae_approx.py b/modules/sd_vae_approx.py index 86bd658a..3965e223 100644 --- a/modules/sd_vae_approx.py +++ b/modules/sd_vae_approx.py @@ -81,6 +81,6 @@ def cheap_approximation(sample): coefs = torch.tensor(coeffs).to(sample.device)
- x_sample = torch.einsum("lxy,lr -> rxy", sample, coefs)
+ x_sample = torch.einsum("...lxy,lr -> ...rxy", sample, coefs)
return x_sample
|