transformers/tests/models/pix2struct
Younes Belkada 285a48011d
Fix gradient checkpointing + fp16 autocast for most models (#24247)
* fix gc bug

* continue PoC on OPT

* fixes

* 🤯

* fix tests

* remove pytest.mark

* fixup

* forward contrib credits from discussions

* forward contrib credits from discussions

* reverting changes on untouched files.

---------

Co-authored-by: zhaoqf123 <zhaoqf123@users.noreply.github.com>
Co-authored-by: 7eu7d7 <7eu7d7@users.noreply.github.com>
2023-06-21 17:04:59 +02:00
..
__init__.py Add Pix2Struct (#21400) 2023-03-22 16:53:52 +01:00
test_image_processing_pix2struct.py Pix2StructImageProcessor requires torch>=1.11.0 (#24270) 2023-06-14 17:05:40 +02:00
test_modeling_pix2struct.py Fix gradient checkpointing + fp16 autocast for most models (#24247) 2023-06-21 17:04:59 +02:00
test_processor_pix2struct.py Pix2StructImageProcessor requires torch>=1.11.0 (#24270) 2023-06-14 17:05:40 +02:00