From 134ee7b7542ec511529435e9ef518644a0ddfa28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Deltheil?= Date: Thu, 31 Aug 2023 16:46:37 +0200 Subject: [PATCH] sdxl: remove wrong structural_attrs in cross-attn --- .../foundationals/latent_diffusion/stable_diffusion_xl/unet.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/refiners/foundationals/latent_diffusion/stable_diffusion_xl/unet.py b/src/refiners/foundationals/latent_diffusion/stable_diffusion_xl/unet.py index 59e3f9c..753472a 100644 --- a/src/refiners/foundationals/latent_diffusion/stable_diffusion_xl/unet.py +++ b/src/refiners/foundationals/latent_diffusion/stable_diffusion_xl/unet.py @@ -76,8 +76,6 @@ class TimestepEncoder(fl.Passthrough): class SDXLCrossAttention(CrossAttentionBlock2d): - structural_attrs = ["channels", "num_attention_layers", "num_attention_heads"] - def __init__( self, channels: int,