Support merged seq2seq models in ORTModel (#930)
* wip
* first version
* add constants
* wip
* wip
* fix shapes
* fix tests
* fix more tests
* fix broken longt5
* fix again longt5
* fix bugs and add tests
* fix a few tests
* fix more tests
* slight bug
* slight bug
* fix iobinding
* fix on suggestion
* Update optimum/onnxruntime/base.py
Co-authored-by: Michael Benayoun <mickbenayoun@gmail.com>
* typo
* trigger workflow
* fix tests again
* simplify save_pretrained
* fix type hint on suggestion
* simplification
* fix regex
* fix from pretrained
* typo
* style on merge
* fix
* fix
* Update optimum/onnxruntime/base.py
Co-authored-by: Michael Benayoun <mickbenayoun@gmail.com>
* Update optimum/onnxruntime/base.py
Co-authored-by: Michael Benayoun <mickbenayoun@gmail.com>
* fix on suggestion
---------
Co-authored-by: Michael Benayoun <mickbenayoun@gmail.com>