Make sam ONNX exportable
As per title, would be great to have this PR on the next release so that we can support the ONNX export (see https://github.com/huggingface/optimum/pull/995). This piece is the only blocking one.
_The documentation is not available anymore as the PR was closed or merged._<|||||>@ArthurZucker The PR is here: https://github.com/huggingface/optimum/pull/995