transformers/tests/models/clipseg
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 CLIPSeg (#20066) 2022-11-08 10:55:47 +01:00
test_modeling_clipseg.py Fix gradient checkpointing + fp16 autocast for most models (#24247) 2023-06-21 17:04:59 +02:00
test_processor_clipseg.py Add visual prompt to processor of CLIPSeg model (#20816) 2022-12-21 15:23:45 +03:00