transformers/templates
Younes Belkada 06e782da4e
[core] Refactor of gradient_checkpointing (#27020)
* v1

* fix

* remove `create_custom_forward`

* fixup

* fixup

* add test and fix all failing GC tests

* remove all remaining `create_custom_forward` methods

* fix idefics bug

* fixup

* replace with `__call__`

* add comment

* quality
2023-10-25 12:16:15 +02:00
..
adding_a_missing_tokenization_test Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
adding_a_new_example_script Add many missing spaces in adjacent strings (#26751) 2023-10-12 10:28:40 +02:00
adding_a_new_model [core] Refactor of gradient_checkpointing (#27020) 2023-10-25 12:16:15 +02:00