r/file.

Models
	
Models are designed as configurable toolboxes that are natural extensions of PyTorch’s Module class. They only partly follow the single-file policy.
The following design principles are followed:
Models correspond to a type of model architecture. E.g. the UNet2DConditionModel class is used for all UNet variations that expect 2D image inputs and are conditioned on some context.
All models can be found in src/diffusers/models and