-
Notifications
You must be signed in to change notification settings - Fork 434
Refactor GroupNorm and log unmatched state_dict keys #989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
b870c49
Refactor GroupNorm and log unmatched state_dict keys
72416a6
Merge branch 'main' into improve_diffusion
juliusberner 119c983
Merge branch 'main' into improve_diffusion
CharlelieLrt 59a6ff1
Refactor GroupNorm and log unmatched state_dict keys
f8e01c7
Add changes from MR996
08f5368
Merge branch 'improve_diffusion' of https://github.com/juliusberner/p…
CharlelieLrt f07cbf3
Merge branch 'main' into improve_diffusion
CharlelieLrt 133d925
Made load_state_dict method semi-private
CharlelieLrt ca424a8
Move the attention migration into a load_state_dict pre-hook
CharlelieLrt bae6d39
Deleted duplicate line in CHANGELOG.md
CharlelieLrt 235b928
Removed warnings in UNetBlock load_state_dict pre-hook
CharlelieLrt 4fed09c
Added test for UNetBlock checkpoint loading from v1.0.1
CharlelieLrt 647528b
Merge branch 'main' into fix-attention-load-state-dict
CharlelieLrt f70e0b7
Changed tol in test + added new test with fused_conv_bias=True
CharlelieLrt b105b32
Merge branch 'fix-attention-load-state-dict' of https://github.com/Ch…
CharlelieLrt 49d78a5
Merge branch 'main' into improve_diffusion
CharlelieLrt 6026b40
Updated CHANGELOG.md
CharlelieLrt 66b201c
Updated CHANGELOG.md
CharlelieLrt ae0bb0e
Merge branch 'main' into improve_diffusion
CharlelieLrt 170aba0
Changed a GroupNorm into get_group_norm
CharlelieLrt 5400790
Merge branch 'improve_diffusion' of https://github.com/juliusberner/p…
CharlelieLrt 135e132
Improved docstring for get_group_norm
CharlelieLrt ed76f10
Merge branch 'main' into fix-attention-load-state-dict
CharlelieLrt 81725d0
Removed unused test
CharlelieLrt f963b91
Merge branch 'main' into improve_diffusion
CharlelieLrt 86b83eb
Initial commit of group_norm tests
CharlelieLrt 2a981b4
Merge branch 'improve_diffusion' of https://github.com/juliusberner/p…
CharlelieLrt c5e8010
Added non-regression test for GroupNorm
CharlelieLrt 385e14f
Merge branch 'main' into improve_diffusion
CharlelieLrt f2baa23
Fix BC compatibility of GroupNorm
3c9a69c
Fixed some formatting in group norm + replaced deprecation warning wi…
CharlelieLrt 8268fe3
New tests for GRoupNorm and get_group_norm
CharlelieLrt c38c8f1
Merge branch 'main' into improve_diffusion
CharlelieLrt a924f8e
Fixed some tests
CharlelieLrt 4d26964
Merge branch 'main' into fix-attention-load-state-dict
CharlelieLrt 211e9fd
Merge branch 'fix-attention-load-state-dict' into improve_diffusion
CharlelieLrt 743fced
Improvements in UNetBlock docstring
CharlelieLrt a32c409
Improvements in layers.py docstrings
CharlelieLrt 188b799
Added non-regression test for UNetBlock
CharlelieLrt 0e2e1a2
Removed load_state_dict from UNetBlock
CharlelieLrt 816149a
Refactored group_norm test to use pytest parameterize instead of loops
CharlelieLrt 5d83417
Fix bugs in Attention layer
CharlelieLrt f0ec057
Some ongoing work on unet_block tests
CharlelieLrt 0eb3f64
Added non-regression checkpoints and data + non-regression test for U…
CharlelieLrt 4866347
Added IDs for group_norm tests
CharlelieLrt 3640bfe
Added new tests for UNet block
CharlelieLrt 96bca9a
Added more param validation in Attention
CharlelieLrt 05debe1
Added tests for new Attention layer
CharlelieLrt db8a738
Merge branch 'main' into improve_diffusion
CharlelieLrt f2e850c
Pin C++ backend for attention op
CharlelieLrt 94d4401
Added reference input data for attention tests
CharlelieLrt e1c8abb
Some files renaming
CharlelieLrt 60b06a8
Reverted back attention to previous implementation
CharlelieLrt 7a2fec7
Updates on new tests
CharlelieLrt 153990a
Updates on new tests
CharlelieLrt 163d1d0
Deleted tests ref data
CharlelieLrt a166fe4
Group norm test working
CharlelieLrt 07f39d2
Group norm test working
CharlelieLrt 00f39ef
Tests for attention layer passing locally
CharlelieLrt f3cc71e
Removed backend in attention test
CharlelieLrt 94cc4da
Modified UNetBlock tests
CharlelieLrt b6291ca
Tests for UNetBlock passing locally
CharlelieLrt 5366a76
Merge branch 'main' into improve_diffusion
CharlelieLrt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
Conv2d, | ||
FourierEmbedding, | ||
GroupNorm, | ||
get_group_norm, | ||
Linear, | ||
PositionalEmbedding, | ||
UNetBlock, | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.