diffusers
diffusers copied to clipboard
[Tests] introduce tests for different transformer variants.
What does this PR do?
This PR introduces tests for the standalone Transformer2DModel class. It's quite heavily used and testing it in isolation is necessary to ensure we have a robust implementation.