Use exporters in ORTTrainer (#546)
* use exporters in ORTTrainer
* Fixed errors
* Updated tests
* Rebased
* Removed deprecated code
* Fixed dir name
* removed unused function
* Removed state copy
* Fixes in review comments
* Updated doc
* updated tests
* Update cli
* make style
* Updated diffuser export
* update unsupported cli model
* Updated trainer after rebase
* Updated export cmd
* Update optimum/exporters/tasks.py
Co-authored-by: Michael Benayoun <mickbenayoun@gmail.com>
Co-authored-by: Michael Benayoun <mickbenayoun@gmail.com>