remove silu for CogView4 (#12150) · Abhinay1997/diffusers@76c809e · GitHub
Skip to content

Commit 76c809e

Browse files
lambertwjh武嘉涵a-r-r-o-wgithub-actions[bot]
authored
remove silu for CogView4 (huggingface#12150)
* CogView4: remove SiLU in final AdaLN (match Megatron); add switch to AdaLayerNormContinuous; split temb_raw/temb_blocks * CogView4: remove SiLU in final AdaLN (match Megatron); add switch to AdaLayerNormContinuous; split temb_raw/temb_blocks * CogView4: remove SiLU in final AdaLN (match Megatron); add switch to AdaLayerNormContinuous; split temb_raw/temb_blocks * CogView4: use local final AdaLN (no SiLU) per review; keep generic AdaLN unchanged * re-add configs as normal files (no LFS) * Apply suggestions from code review * Apply style fixes --------- Co-authored-by: 武嘉涵 <lambert@wujiahandeMacBook-Pro.local> Co-authored-by: Aryan <contact.aryanvs@gmail.com> Co-authored-by: Aryan <aryan@huggingface.co> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent e682af2 commit 76c809e

1 file changed

Lines changed: 34 additions & 2 deletions

File tree

‎src/diffusers/models/transformers/transformer_cogview4.py‎

Lines changed: 34 additions & 2 deletions

0 commit comments

Comments
 (0)