transformers/tests/models/clip
Matt 415e9a0980
Add tf_keras imports to prepare for Keras 3 (#28588)
* Port core files + ESM (because ESM code is odd)

* Search-replace in modelling code

* Fix up transfo_xl as well

* Fix other core files + tests (still need to add correct import to tests)

* Fix cookiecutter

* make fixup, fix imports in some more core files

* Auto-add imports to tests

* Cleanup, add imports to sagemaker tests

* Use correct exception for importing tf_keras

* Fixes in modeling_tf_utils

* make fixup

* Correct version parsing code

* Ensure the pipeline tests correctly revert to float32 after each test

* Ensure the pipeline tests correctly revert to float32 after each test

* More tf.keras -> keras

* Add dtype cast

* Better imports of tf_keras

* Add a cast for tf.assign, just in case

* Fix callback imports
2024-01-30 17:26:36 +00:00
..
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_image_processing_clip.py Refactor image processor testers (#25450) 2023-08-11 11:30:18 +01:00
test_modeling_clip.py [`core`/ `GC` / `tests`] Stronger GC tests (#27124) 2023-10-30 19:53:46 +01:00
test_modeling_flax_clip.py Add FlaxCLIPTextModelWithProjection (#25254) 2023-08-25 10:58:14 +02:00
test_modeling_tf_clip.py Add tf_keras imports to prepare for Keras 3 (#28588) 2024-01-30 17:26:36 +00:00
test_processor_clip.py Save `Processor` (#27761) 2024-01-18 10:21:45 +00:00
test_tokenization_clip.py [`Styling`] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00