Add compatibility with transformers 4.52 (#2270)
* compatibility with transformers 4.52
* fix
* add back default
* update setup
* fix
* fix perceiver
* fix perceiver test
* fix style
* add min max tokens pipeline test
* fix
* comment
* upgrade runner
* increase batch size for test
* fix test
* style
* update model
* fix
* add model
* add fix
* to rm
* revert
* style
* run test in serie
* fix tests
* fix
* tmp
* update model
* trigger test
* revert
* fix
* fix default model id for pipelines
* style
* fix
* fix
* style
* fix loading seq2seq models
* add test
* style
* apply comments
* remove unused
* rename
* style
* add more tests
* add test
* fix
* style