Getting the error: ValueError: Cannot load because transformer_blocks.0.audio_scale_shift_table expected shape torch.Size([6, 2048]), but got torch.Size([9, 2048]).

#2
by Phaserblast - opened

While trying to load this model using LTX2VideoTransformer3DModel, I'm getting the same error reported by folks when trying to load certain GGUF versions of this model:

ValueError: Cannot load because transformer_blocks.0.audio_scale_shift_table expected shape torch.Size([6, 2048]), but got torch.Size([9, 2048]).

I'm using transformers 5.5.4 and diffusers 0.37.1. Any idea of how to fix this?

Nevermind, I see your commits were made just after the 0.37.1 release. All good.

Phaserblast changed discussion status to closed

Sign up or log in to comment