apple / ml-mdm

Train high-quality text-to-image diffusion models in a data & compute efficient manner
https://machinelearning.apple.com/research/matryoshka-diffusion-models
MIT License
448 stars 31 forks source link

Proposes to refactor `diffusion.py` for `if not self.diffusion_config.no_use_residual:` #14

Closed tolgacangoz closed 1 week ago

tolgacangoz commented 2 months ago

The pull request proposes refactoring the diffusion.py file when self.diffusion_config.no_use_residual=False for nested models.

@MultiPath @Shuangfei @luke-carlson