[DC-AE] Add the official Deep Compression Autoencoder code(32x,64x,128x compression ratio); #9708
first add a script for DC-AE;
6e616a9c
sayakpaul
marked this pull request as draft 341 days ago
Merge remote-tracking branch 'upstream/main' into DC-AE
d2e187a0
DC-AE init
90e89393
replace triton with custom implementation
825c975c
1. rename file and remove un-used codes;
3a44fa4c
no longer rely on omegaconf and dataclass
55b2615d
merge
6fb7fdb8
Merge remote-tracking branch 'upstream/main' into DC-AE
c323e76b
replace custom activation with diffuers activation
da7caa58
remove dc_ae attention in attention_processor.py
fb6d92a4
iinherit from ModelMixin
5e63a1ae
inherit from ConfigMixin
72cce2b4
dc-ae reduce to one file
8f9b4e43
Merge remote-tracking branch 'upstream/main' into DC-AE
b7f68f9a
Merge branch 'huggingface:main' into DC-AE
6d96b954
Merge remote-tracking branch 'refs/remotes/origin/main' into DC-AE
3c3cc517
update downsample and upsample
14486810
merge
bf40fe85
clean code
dd7718a2
support DecoderOutput
19986a52
Merge branch 'main' into DC-AE
3481e23c
Merge branch 'main' into DC-AE
0e818df8
remove get_same_padding and val2tuple
c6eb2336
remove autocast and some assert
59de0a34
update ResBlock
ea604a4d
remove contents within super().__init__
80dce027
Update src/diffusers/models/autoencoders/dc_ae.py
1752afdd
remove opsequential
883bcf4f
Merge branch 'DC-AE' of github.com:lawrence-cj/diffusers into DC-AE
25ae3890
update other blocks to support the removal of build_norm
96e844b7
Merge branch 'main' into DC-AE
59b6e257
remove build encoder/decoder project in/out
7ce9ff2f
Merge branch 'DC-AE' of github.com:lawrence-cj/diffusers into DC-AE
30d6308d
remove inheritance of RMSNorm2d from LayerNorm
cab56b16
remove reset_parameters for RMSNorm2d
b42bb548
remove device and dtype in RMSNorm2d __init__
2e04a996
Update src/diffusers/models/autoencoders/dc_ae.py
b4f75f22
Update src/diffusers/models/autoencoders/dc_ae.py
c82f828b
Update src/diffusers/models/autoencoders/dc_ae.py
22ea5fd7
remove op_list & build_block
4f5cbb43
remove build_stage_main
2f6bbad8
Merge branch 'main' into DC-AE
44957833
change file name to autoencoder_dc
4d3c0266
Merge branch 'DC-AE' of github.com:lawrence-cj/diffusers into DC-AE
e007057d
move LiteMLA to attention.py
d3d9c840
align with other vae decode output;
be9826c5
add DC-AE into init files;
20da2012
update
5ed50e98
make quality && make style;
2d59056c
quick push before dgx disappears again
c1c02a20
update
1f8a3b3b
make style
7b9d7e55
update
bf6c211e
update
a2ec5f81
fix
f5876c5b
refactor
44034a6f
refactor
63792412
refactor
77571a8f
update
c4d0867c
possibly change to nn.Linear
0bdb7eff
refactor
54e933b3
Merge branch 'main' into aryan-dcae
babc9f59
make fix-copies
3d5faaff
resolve conflicts & merge
65edfa5e
replace vae with ae
ca3ac4de
replace get_block_from_block_type to get_block
9ef7b597
replace downsample_block_type from Conv to conv for consistency
074817cf
add scaling factors
64de66a4
incorporate changes for all checkpoints
0bda5c51
make style
eb64d52c
Merge branch 'main' into DC-AE
4a224ce9
move mla to attention processor file; split qkv conv to linears
30c32383
refactor
39a947ce
Merge branch 'main' into DC-AE
68f817ac
add tests
da834d51
lawrence-cj
marked this pull request as ready for review 294 days ago
Merge branch 'main' into DC-AE
632ad3ba
from original file loader
d6c748c7
Merge branch 'main' into DC-AE
46eb5043
add docs
31f9fc6c
add standard autoencoder methods
6f29e2ab
yiyixuxu
approved these changes
on 2024-12-04
a-r-r-o-w
approved these changes
on 2024-12-05
combine attention processor
b6e8fbac
fix tests
f862bae8
update
f9fce24a
Merge branch 'main' into DC-AE
e5947451
minor fix
3c0b1ca3
minor fix
91057d40
Merge branch 'main' into DC-AE
67aa715e
minor fix & in/out shortcut rename
eda66e19
minor fix
e3d33e6a
Merge branch 'main' into DC-AE
cc97502c
make style
2b370df4
fix paper link
94355abe
Merge branch 'main' into DC-AE
a191f070
update docs
116c0495
DN6
commented
on 2024-12-06
DN6
commented
on 2024-12-06
update single file loading
b6e0aba6
Merge branch 'main' into DC-AE
ec4e84fd
make style
dbae8f1d
stevhliu
approved these changes
on 2024-12-06
remove single file loading support; todo for DN6
042c2a0c
Apply suggestions from code review
f2525b94
Merge branch 'main' into DC-AE
d3d224c0
add abstract
6122b84a
a-r-r-o-w
approved these changes
on 2024-12-06
a-r-r-o-w
merged
cd892041
into main 292 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub