transformers
078ff685 - 🚨 Move `rotary_partial_emb` to RopeParams and delete unnecessary code 🔪 (#42255)

Commit
51 days ago
🚨 Move `rotary_partial_emb` to RopeParams and delete unnecessary code 🔪 (#42255) * tmp * batch push * maybe better pop and break, and we'll have one theta per config in the rope dict * update a few models? * fix tests that are easu first * dont overwrite if already present!!! * partial rotary factor * more fixes to the god of fixes * setdefault * fix copies * Update src/transformers/modeling_rope_utils.py Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com> * Update src/transformers/models/efficientloftr/configuration_efficientloftr.py Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com> * attempt one * update all models * fix tests * fix tests * oops * fix slow tests with nested rope models * fix copies * deal with circular import and move the mixin to base config class * fix copies * fix a few tests * update the migration guide --------- Co-authored-by: Anton Vlasjuk <73884904+vasqu@users.noreply.github.com>
Author
Parents
Loading