[core] remove `GenerationMixin` inheritance by default in `PreTrainedModel` #37173
rm GenerationMixin inheritance
51de9bed
old models: raise exception
c9e280d4
remove unneeded validations
234090b7
gante
marked this pull request as ready for review 1 year ago
gante
changed the title [core] remove GenerationMixin inheritance by default [core] remove `GenerationMixin` inheritance by default in `PreTrainedModel` 1 year ago
Merge branch 'main' into rm_generation_mixin_inheritance_by_default
4950ccb4
fix speecht5
5053d080
gante
commented
on 2025-04-01
corrections
3c5d4701
nits
ade85f93
Merge branch 'main' into rm_generation_mixin_inheritance_by_default
b66cc269
rag should inherit the mixin
27b79e51
gante
merged
4321b064
into main 1 year ago
gante
deleted the rm_generation_mixin_inheritance_by_default branch 1 year ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub