transformers
4a696b1c - Keep overrides of the deprecated gradient checkpointing methods working (#50310)

Commit
6 days ago
Keep overrides of the deprecated gradient checkpointing methods working (#50310) * Keep overrides of the deprecated gradient checkpointing methods as the entry point Since #49248, Trainer calls activation_checkpointing_enable, so subclasses and instance wrappers of gradient_checkpointing_enable/disable were skipped. * Rename _overrides_deprecated_alias to _is_overridden
Author
Parents
Loading