def disabled_train(self, mode=True):
    """Overwrite model.train with this function to make sure train/eval mode
    does not change anymore."""
    return self
Overwrite model.train with this function to make sure train/eval mode
does not change anymore.
models/tta/picoaudio/picoaudio/audioldm/ldm.py