t variations that expect 2D image inputs and are conditioned on some context.
All models can be found in src/diffusers/models and every model architecture shall be defined in its file, e.g. unet_2d_condition.py, transformer_2d.py, etc…
Models do not follow the single-file policy and should make use of smaller model building blocks, such as attention.py, resnet.py, embeddings.py, etc… Note: This is in stark contrast to Transformers’ modeling fil