KEMBAR78
[training] set rest of the blocks with `requires_grad` False. by sayakpaul · Pull Request #10607 · huggingface/diffusers · GitHub
Skip to content

Conversation

@sayakpaul
Copy link
Member

What does this PR do?

Sets rest of the Flux blocks to non-trainable when only targeting transformer_blocks.

@sayakpaul sayakpaul requested a review from a-r-r-o-w January 19, 2025 13:24
@sayakpaul sayakpaul merged commit 328e0d2 into main Jan 19, 2025
11 of 12 checks passed
@sayakpaul sayakpaul deleted the fix-target-transformer-blocks branch January 19, 2025 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants