Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Conversation

@virginiafdez
Copy link
Contributor

Added "dropout_cattn" parameter to add dropout on the conditioning cross-attention channels.
Does not apply dropout everywhere, just in the conditioning blocks.

@virginiafdez virginiafdez linked an issue Jun 27, 2023 that may be closed by this pull request
Copy link
Collaborator

@marksgraham marksgraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me - but I think the test case should just be included with the others in the 'test_diffusion_model_unet` file!

…lity in cross-attention blocks) in the main test_diffusion_model_unet.
@virginiafdez
Copy link
Contributor Author

@marksgraham Done!

Signed-off-by: Mark Graham <markgraham539@gmail.com>
Signed-off-by: Mark Graham <markgraham539@gmail.com>
@marksgraham marksgraham merged commit 3da2673 into main Nov 1, 2023
@marksgraham marksgraham deleted the 406-allow-for-dropout-on-cross-attention-blocks-of-diffusion-model branch November 1, 2023 14:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow for dropout on cross-attention blocks of diffusion model

3 participants