-
Couldn't load subscription status.
- Fork 6.5k
[DC-AE] Add the official Deep Compression Autoencoder code(32x,64x,128x compression ratio); #9708
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 5 commits
Commits
Show all changes
101 commits
Select commit
Hold shift + click to select a range
6e616a9
first add a script for DC-AE;
lawrence-cj d2e187a
Merge remote-tracking branch 'upstream/main' into DC-AE
chenjy2003 90e8939
DC-AE init
chenjy2003 825c975
replace triton with custom implementation
chenjy2003 3a44fa4
1. rename file and remove un-used codes;
lawrence-cj 55b2615
no longer rely on omegaconf and dataclass
chenjy2003 6fb7fdb
merge
chenjy2003 c323e76
Merge remote-tracking branch 'upstream/main' into DC-AE
chenjy2003 da7caa5
replace custom activation with diffuers activation
chenjy2003 fb6d92a
remove dc_ae attention in attention_processor.py
chenjy2003 5e63a1a
iinherit from ModelMixin
chenjy2003 72cce2b
inherit from ConfigMixin
chenjy2003 8f9b4e4
dc-ae reduce to one file
chenjy2003 b7f68f9
Merge remote-tracking branch 'upstream/main' into DC-AE
chenjy2003 6d96b95
Merge branch 'huggingface:main' into DC-AE
lawrence-cj 3c3cc51
Merge remote-tracking branch 'refs/remotes/origin/main' into DC-AE
lawrence-cj 1448681
update downsample and upsample
chenjy2003 bf40fe8
merge
chenjy2003 dd7718a
clean code
chenjy2003 19986a5
support DecoderOutput
chenjy2003 3481e23
Merge branch 'main' into DC-AE
lawrence-cj 0e818df
Merge branch 'main' into DC-AE
lawrence-cj c6eb233
remove get_same_padding and val2tuple
chenjy2003 59de0a3
remove autocast and some assert
chenjy2003 ea604a4
update ResBlock
chenjy2003 80dce02
remove contents within super().__init__
chenjy2003 1752afd
Update src/diffusers/models/autoencoders/dc_ae.py
lawrence-cj 883bcf4
remove opsequential
chenjy2003 25ae389
Merge branch 'DC-AE' of github.com:lawrence-cj/diffusers into DC-AE
chenjy2003 96e844b
update other blocks to support the removal of build_norm
chenjy2003 59b6e25
Merge branch 'main' into DC-AE
sayakpaul 7ce9ff2
remove build encoder/decoder project in/out
chenjy2003 30d6308
Merge branch 'DC-AE' of github.com:lawrence-cj/diffusers into DC-AE
chenjy2003 cab56b1
remove inheritance of RMSNorm2d from LayerNorm
chenjy2003 b42bb54
remove reset_parameters for RMSNorm2d
chenjy2003 2e04a99
remove device and dtype in RMSNorm2d __init__
chenjy2003 b4f75f2
Update src/diffusers/models/autoencoders/dc_ae.py
lawrence-cj c82f828
Update src/diffusers/models/autoencoders/dc_ae.py
lawrence-cj 22ea5fd
Update src/diffusers/models/autoencoders/dc_ae.py
lawrence-cj 4f5cbb4
remove op_list & build_block
chenjy2003 2f6bbad
remove build_stage_main
chenjy2003 4495783
Merge branch 'main' into DC-AE
lawrence-cj 4d3c026
change file name to autoencoder_dc
chenjy2003 e007057
Merge branch 'DC-AE' of github.com:lawrence-cj/diffusers into DC-AE
chenjy2003 d3d9c84
move LiteMLA to attention.py
chenjy2003 be9826c
align with other vae decode output;
lawrence-cj 20da201
add DC-AE into init files;
lawrence-cj 5ed50e9
update
a-r-r-o-w 2d59056
make quality && make style;
lawrence-cj c1c02a2
quick push before dgx disappears again
a-r-r-o-w 1f8a3b3
update
a-r-r-o-w 7b9d7e5
make style
a-r-r-o-w bf6c211
update
a-r-r-o-w a2ec5f8
update
a-r-r-o-w f5876c5
fix
a-r-r-o-w 44034a6
refactor
a-r-r-o-w 6379241
refactor
a-r-r-o-w 77571a8
refactor
a-r-r-o-w c4d0867
update
a-r-r-o-w 0bdb7ef
possibly change to nn.Linear
a-r-r-o-w 54e933b
refactor
a-r-r-o-w babc9f5
Merge branch 'main' into aryan-dcae
a-r-r-o-w 3d5faaf
make fix-copies
a-r-r-o-w 65edfa5
resolve conflicts & merge
a-r-r-o-w ca3ac4d
replace vae with ae
chenjy2003 9ef7b59
replace get_block_from_block_type to get_block
chenjy2003 074817c
replace downsample_block_type from Conv to conv for consistency
chenjy2003 64de66a
add scaling factors
chenjy2003 0bda5c5
incorporate changes for all checkpoints
a-r-r-o-w eb64d52
make style
a-r-r-o-w 4a224ce
Merge branch 'main' into DC-AE
a-r-r-o-w 30c3238
move mla to attention processor file; split qkv conv to linears
a-r-r-o-w 39a947c
refactor
a-r-r-o-w 68f817a
Merge branch 'main' into DC-AE
a-r-r-o-w da834d5
add tests
a-r-r-o-w 632ad3b
Merge branch 'main' into DC-AE
lawrence-cj d6c748c
from original file loader
a-r-r-o-w 46eb504
Merge branch 'main' into DC-AE
a-r-r-o-w 31f9fc6
add docs
a-r-r-o-w 6f29e2a
add standard autoencoder methods
a-r-r-o-w b6e8fba
combine attention processor
yiyixuxu f862bae
fix tests
a-r-r-o-w f9fce24
update
a-r-r-o-w e594745
Merge branch 'main' into DC-AE
a-r-r-o-w 3c0b1ca
minor fix
chenjy2003 91057d4
minor fix
chenjy2003 67aa715
Merge branch 'main' into DC-AE
lawrence-cj eda66e1
minor fix & in/out shortcut rename
chenjy2003 e3d33e6
minor fix
chenjy2003 cc97502
Merge branch 'main' into DC-AE
a-r-r-o-w 2b370df
make style
a-r-r-o-w 94355ab
fix paper link
chenjy2003 a191f07
Merge branch 'main' into DC-AE
a-r-r-o-w 116c049
update docs
a-r-r-o-w b6e0aba
update single file loading
a-r-r-o-w ec4e84f
Merge branch 'main' into DC-AE
a-r-r-o-w dbae8f1
make style
a-r-r-o-w 042c2a0
remove single file loading support; todo for DN6
a-r-r-o-w f2525b9
Apply suggestions from code review
a-r-r-o-w d3d224c
Merge branch 'main' into DC-AE
a-r-r-o-w 6122b84
add abstract
a-r-r-o-w 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.