Accessing config attribute `__len__` directly via 'UNet3DConditionModel' object attribute is deprecated

FutureWarning: Accessing config attribute len directly via 'UNet3DConditionModel' object attribute is deprecated. Please access '__len__' over 'UNet3DConditionModel's config object instead, e.g. 'unet.config.__len__'. elif hasattr(v, '__len__') and not is_string(v):

How to avoid this annoying warning whenever i try to print something? I cannot even find where the len is accessed. I’m using a T2V pipeline for training with diffusers.