diffusers
feat: implement rae autoencoder.
#13046
Merged

feat: implement rae autoencoder. #13046

sayakpaul merged 71 commits into huggingface:main from Ando233:rae
Ando233
feat: implement three RAE encoders(dinov2, siglip2, mae)
382aad0a
feat: finish first version of autoencoder_rae
f82cecc2
Ando233 Merge branch 'main' into rae
a3926d77
sayakpaul sayakpaul requested a review from kashif kashif 47 days ago
sayakpaul
kashif
kashif
bytetriper
sayakpaul
kashif Merge branch 'main' into rae
3ecf89d0
kashif fix formatting
0850c8cd
kashif make fix-copies
24acab0b
kashif initial doc
25bc9e33
kashif fix latent_mean / latent_var init types to accept config-friendly inputs
f06ea7a9
kashif use mean and std convention
d7cb1247
kashif cleanup
0d59b227
kashif add rae to diffusers script
202b14f6
kashif use imports
7cbbf271
kashif
kashif
kashif use attention
e6d44993
kashif remove unneeded class
6a9bde69
kashif example traiing script
9522e68a
kashif input and ground truth sizes have to be the same
906d79a4
kashif fix argument
d3cbd5a6
kashif move loss to training script
96520c4f
kashif cleanup
fc529595
kashif simplify mixins
a4fc9f64
kashif fix training script
d06b5018
kashif Merge branch 'main' into rae
d8b2983b
Ando233
kashif
bytetriper
sayakpaul
sayakpaul
sayakpaul commented on 2026-02-23
sayakpaul sayakpaul requested a review from dg845 dg845 23 days ago
bytetriper
sayakpaul
kashif fix entrypoint for instantiating the AutoencoderRAE
c68b812c
kashif
kashif added encoder_image_size config
61885f37
kashif undo last change
28a02eb2
bytetriper
kashif fixes from pretrained weights
b2978682
kashif Merge branch 'main' into rae
7debd075
kashif cleanups
b3ffd634
kashif address reviews
dca59233
kashif Merge branch 'rae' of https://github.com/Ando233/diffusers into rae
c71cb442
kashif fix train script to use pretrained
5c857815
kashif fix conversion script review
d965cabe
kashif latebt normalization buffers are now always registered with no-op def…
663b5804
kashif kashif requested a review from sayakpaul sayakpaul 20 days ago
HuggingFaceDocBuilderDev
sayakpaul
sayakpaul commented on 2026-02-27
kashif Update examples/research_projects/autoencoder_rae/README.md
6a787678
kashif Update src/diffusers/models/autoencoders/autoencoder_rae.py
1b4a43f5
kashif use image url
c717498f
kashif Encoder is frozen
03e757ca
kashif fix slow test
8861a808
kashif remove config
9ada5768
kashif use ModelTesterMixin and AutoencoderTesterMixin
34787e5b
kashif make quality
cd86873e
sayakpaul Merge branch 'main' into rae
bff48d31
sayakpaul sayakpaul requested a review from stevhliu stevhliu 17 days ago
kashif strip final layernorm when converting
f15873af
kashif _strip_final_layernorm_affine for training script
e834e498
sayakpaul
sayakpaul commented on 2026-03-02
kashif fix test
5817416a
kashif add dispatch forward and update conversion script
3a668951
kashif
kashif update training script
bc718898
sayakpaul
sayakpaul commented on 2026-03-03
sayakpaul Merge branch 'main' into rae
9c0f96b3
sayakpaul
bytetriper
dg845
dg845 commented on 2026-03-04
dg845
dg845 commented on 2026-03-04
dg845
dg845 commented on 2026-03-04
dg845
dg845 commented on 2026-03-04
dg845
dg845 commented on 2026-03-04
dg845
dg845 commented on 2026-03-04
dg845
dg845 commented on 2026-03-04
dg845
dg845 commented on 2026-03-04
dg845
dg845 commented on 2026-03-04
kashif error out as soon as possible and add comments
196f8a36
kashif Update src/diffusers/models/autoencoders/autoencoder_rae.py
3958fda3
kashif use buffer
e805be98
kashif inline
af75d8b9
kashif Update src/diffusers/models/autoencoders/autoencoder_rae.py
df1af7d9
kashif remove optional
876e9307
kashif _noising takes a generator
b9a5266c
kashif Update src/diffusers/models/autoencoders/autoencoder_rae.py
bc59324a
kashif Merge branch 'main' into rae
14d918ee
kashif
dg845
dg845 commented on 2026-03-04
dg845
dg845 commented on 2026-03-04
kashif fix api
33d98a85
kashif rename
fa016b19
kashif remove unittest
f4ec0f14
kashif use randn_tensor
05d3edca
Ando233 Merge branch 'huggingface:main' into rae
ed9bcfd7
dg845 Merge branch 'main' into rae
af0bed00
dg845
dg845 commented on 2026-03-05
sayakpaul Merge branch 'main' into rae
441224ac
kashif fix device map on multigpu
c0138b33
kashif Merge branch 'rae' of https://github.com/Ando233/diffusers into rae
c640d01e
sayakpaul
sayakpaul commented on 2026-03-05
sayakpaul
sayakpaul
sayakpaul commented on 2026-03-05
kashif check if the key is missing in the original state dict and only then …
61e92205
sayakpaul Merge branch 'main' into rae
decac2ca
kashif remove initialize_weights
87ee7fcf
sayakpaul
sayakpaul approved these changes on 2026-03-05
sayakpaul Merge branch 'main' into rae
54cd3945
sayakpaul Merge branch 'main' into rae
e2fcc403
sayakpaul sayakpaul merged 8ec0a5cc into main 12 days ago
sayakpaul

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone