transformers/tests/models/idefics2
Raushan Turganbay 38a4bf79ad
Encoder-decoder models: move embedding scale to nn.Module (#30410)
* move scaling to nn.Module

* let the test be here for now (need to fix)

* failing tests

* last failing models

* Revert commit 4c14817f38

* clean-up

* oops forgot

* codestyle

* raise NotImplemented when possible

* Update tests/test_modeling_common.py

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* skip tests in respective modeling files

---------

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
2024-05-01 12:33:00 +05:00
..
__init__.py Add Idefics2 (#30253) 2024-04-15 17:03:03 +01:00
test_image_processing_idefics2.py Add Idefics2 (#30253) 2024-04-15 17:03:03 +01:00
test_modeling_idefics2.py Encoder-decoder models: move embedding scale to nn.Module (#30410) 2024-05-01 12:33:00 +05:00
test_processing_idefics2.py Add Idefics2 (#30253) 2024-04-15 17:03:03 +01:00