Add mistral common support (#38906)
* wip: correct docstrings
* Add mistral-common support.
* quality
* wip: add requested methods
* wip: fix tests
* wip: add internally some methods not being supported in mistral-common
* wip
* wip: add opencv dependency and update test list
* wip: add mistral-common to testing dependencies
* wip: revert some test changes
* wip: ci
* wip: ci
* clean
* check
* check
* check
* wip: add hf image format to apply_chat_template and return pixel_values
* wip: make mistral-common non-installed safe
* wip: clean zip
* fix: from_pretrained
* fix: path and base64
* fix: path and import root
* wip: add docs
* clean
* clean
* revert
---------
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>