Files
HuggingFace_transformer/tests/models
Raushan Turganbay 52e1f87c7d [WIP] Emu3: add model (#33770)
* model can convert to HF and be loaded back

* nit

* works in single batch generation but hallucinates

* use the image tokens

* add image generation

* now it works

* add tests

* update

* add modulare but it doesn't work for porting docstring :(

* skip some tests

* add slow tests

* modular removed the import?

* guess this works

* update

* update

* fix copies

* fix test

* fix copies

* update

* docs

* fix tests

* last fix tests?

* pls

* repo consistency

* more style

* style

* remove file

* address comments

* tiny bits

* update after the new modular

* fix tests

* add one more cond in check attributes

* decompose down/up/mid blocks

* allow static cache generation in VLMs

* nit

* fix copies

* Update docs/source/en/model_doc/emu3.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update docs/source/en/model_doc/emu3.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update docs/source/en/model_doc/emu3.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update docs/source/en/model_doc/emu3.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update docs/source/en/model_doc/emu3.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update docs/source/en/model_doc/emu3.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update docs/source/en/model_doc/emu3.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update docs/source/en/model_doc/emu3.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* fix VAE upsampling

* Update src/transformers/models/emu3/modular_emu3.py

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

* address comments

* state overwritten stuff explicitly

* fix copies

* add the flag for flex attn

---------

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
2025-01-10 12:23:00 +01:00
..
2024-12-20 14:36:31 +01:00
2024-12-18 20:18:17 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-12-17 14:44:47 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-12-13 09:35:50 +01:00
2025-01-09 17:54:57 +01:00
2024-12-17 11:26:43 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-12-17 14:44:47 +01:00
2025-01-07 11:34:56 +01:00
2024-06-26 21:59:08 +01:00
2024-09-21 01:58:00 +01:00
2025-01-10 12:23:00 +01:00
2024-12-18 16:53:39 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-12-18 16:53:39 +01:00
2024-12-20 14:36:31 +01:00
2024-06-26 21:59:08 +01:00
2024-05-22 06:40:15 +02:00
2024-12-18 16:53:39 +01:00
2024-12-20 14:36:31 +01:00
2024-12-18 16:53:39 +01:00
2024-12-20 14:36:31 +01:00
2024-12-19 17:05:25 +01:00
2024-12-19 17:05:25 +01:00
2024-06-26 21:59:08 +01:00
2024-12-20 14:36:31 +01:00
2024-12-20 14:36:31 +01:00
2024-06-26 21:59:08 +01:00
2024-12-19 17:05:25 +01:00
2025-01-08 10:35:23 +01:00
2025-01-08 10:35:23 +01:00
2024-10-22 08:23:53 +02:00
2024-12-20 14:36:31 +01:00
2024-12-20 14:36:31 +01:00
2024-06-26 21:59:08 +01:00
2024-12-18 16:53:39 +01:00
2024-12-18 16:53:39 +01:00
2025-01-10 11:00:54 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-10-07 10:56:24 +02:00
2024-06-26 21:59:08 +01:00
2024-12-20 14:36:31 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-06-26 21:59:08 +01:00
2024-12-18 16:53:39 +01:00
2024-12-18 16:53:39 +01:00
2025-01-09 11:09:09 +01:00
2024-10-04 22:45:37 +02:00
2024-06-26 21:59:08 +01:00
2024-12-18 16:53:39 +01:00
2024-12-18 16:53:39 +01:00
2024-12-20 14:36:31 +01:00
2024-12-23 13:54:57 +01:00
2024-12-18 16:53:39 +01:00
2024-12-20 14:36:31 +01:00
2025-01-08 09:52:51 +01:00
2024-06-26 21:59:08 +01:00
2024-11-29 11:58:11 +00:00
2025-01-08 10:35:23 +01:00
2025-01-08 10:35:23 +01:00
2024-05-22 06:40:15 +02:00
2024-06-26 21:59:08 +01:00
2025-01-08 16:02:14 +00:00
2025-01-08 16:02:14 +00:00
2024-10-15 11:27:54 +02:00
2024-12-18 14:13:21 +01:00
2024-06-26 21:59:08 +01:00
2022-05-03 14:42:02 +02:00