Closed
Description
Currently, we have different variants of transformers: https://github.com/huggingface/diffusers/tree/main/src/diffusers/models/transformers/. However, we don't have test suites for each of them: https://github.com/huggingface/diffusers/tree/main/tests/models/transformers/.
We are seeking contributions from the community to improve this situation. Below is a list of the model for which we would really appreciate test suites for:
How to approach the process?
- Take the configuration object for each of these models from their respective pipeline tests suites. For example, for the Latte Transformer, it would be here:
- Derive the expected inputs. You can do so by adding print statements to the corresponding pipeline file. For example, for the Latte Transformer, you could add print statements right here: to investigate the shapes of the outputs and then use that information accordingly.
- Then it should be just about defining the test suite like so: https://github.com/huggingface/diffusers/blob/main/tests/models/transformers/test_models_transformer_sd3.py.
Points to keep in mind when opening PRs
- Mention this issue and tag @DN6 and myself.
- Target only one modeling test at a time.