Update audio decoder configuration to use an empty set for attention resolutions in both generate_av.py and generate_dev.py. Add a print statement for loading audio VAE decoder weights in generate_dev.py.

This commit is contained in:
Prince Canuma
2026-01-18 21:55:38 +01:00
parent 7069cc39c9
commit 749762a0b9
2 changed files with 3 additions and 2 deletions

View File

@@ -254,7 +254,7 @@ def load_audio_decoder(model_path: Path):
out_ch=2, # stereo
ch_mult=(1, 2, 4),
num_res_blocks=2,
attn_resolutions={8, 16, 32},
attn_resolutions=set(), # PyTorch uses empty set (no attention in audio decoder)
resolution=256,
z_channels=AUDIO_LATENT_CHANNELS,
norm_type=NormType.PIXEL,