Fix Data2VecVision ONNX test
Author: ydshieh
Pull request: yes

# What does this PR do?

Fix an issue from #18427. In short, `Data2VecVision` is for semantic segmentation.

Current CI test failure
```bash
tests/onnx/test_onnx_v2.py::OnnxExportTestCaseV2::test_pytorch_export_048_data2vec_vision_image_segmentation
(line 412)  ValueError: Unrecognized configuration class <class 'transformers.models.data2vec.configuration_data2vec_vision.Data2VecVisionConfig'> for this kind of AutoModel: AutoModelForImageSegmentation.

tests/onnx/test_onnx_v2.py::OnnxExportTestCaseV2::test_pytorch_export_on_cuda_048_data2vec_vision_image_segmentation
(line 412)  ValueError: Unrecognized configuration class <class 'transformers.models.data2vec.configuration_data2vec_vision.Data2VecVisionConfig'> for this kind of AutoModel: AutoModelForImageSegmentation.
```

Comments:
_The documentation is not available anymore as the PR was closed or merged._

With `nn.AdaptiveAvgPool2d` with `output_size` > 1, we get error

```bash
Current thread 0x00007f5bb924e740 (most recent call first):
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/_io/saferepr.py", line 71 in repr_instance
  File "/usr/lib/python3.9/reprlib.py", line 62 in repr1
  File "/usr/lib/python3.9/reprlib.py", line 71 in <listcomp>
  File "/usr/lib/python3.9/reprlib.py", line 71 in _repr_iterable
  File "/usr/lib/python3.9/reprlib.py", line 78 in repr_tuple
  File "/usr/lib/python3.9/reprlib.py", line 60 in repr1
  File "/usr/lib/python3.9/reprlib.py", line 52 in repr
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/_io/saferepr.py", line 60 in repr
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/_io/saferepr.py", line 107 in saferepr
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/_code/code.py", line 727 in repr_args
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/_code/code.py", line 817 in repr_traceback_entry
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/_code/code.py", line 867 in repr_traceback
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/_code/code.py", line 926 in repr_excinfo
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/_code/code.py", line 666 in getrepr
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/nodes.py", line 475 in _repr_failure_py
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/python.py", line 1795 in repr_failure
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/reports.py", line 345 in from_item_and_call
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/runner.py", line 365 in pytest_runtest_makereport
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/runner.py", line 221 in call_and_report
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/runner.py", line 130 in runtestprotocol
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/runner.py", line 111 in pytest_runtest_protocol
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/main.py", line 347 in pytest_runtestloop
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/main.py", line 322 in _main
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/main.py", line 268 in wrap_session
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/main.py", line 315 in pytest_cmdline_main
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/pluggy/_callers.py", line 39 in _multicall
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/pluggy/_manager.py", line 80 in _hookexec
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/pluggy/_hooks.py", line 265 in __call__
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/config/__init__.py", line 164 in main
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/_pytest/config/__init__.py", line 187 in console_main
  File "/home/yih_dar_huggingface_co/.local/lib/python3.9/site-packages/pytest/__main__.py", line 5 in <module>
  File "/usr/lib/python3.9/runpy.py", line 87 in _run_code
  File "/usr/lib/python3.9/runpy.py", line 197 in _run_module_as_main
Segmentation fault
```

Thanks @lewtun for the review. Totally fine for me to remove `semantic-segmentation` as a supported feature. I will clean this PR a bit and pin you for final review then.

The failed tests are irrelevant. @lewtun it's ready for you to take a final look 🚀 !

```bash
FAILED tests/models/bigbird_pegasus/test_modeling_bigbird_pegasus.py::BigBirdPegasusStandaloneDecoderModelTest::test_sample_generate
FAILED tests/models/xlm_roberta_xl/test_modeling_xlm_roberta_xl.py::XLMRobertaXLModelTest::test_sample_generate_dict_output
```

Now we have a different generation test failing:

```
FAILED tests/models/blenderbot/test_modeling_blenderbot.py::BlenderbotStandaloneDecoderModelTest::test_sample_generate
FAILED tests/models/xlm_roberta_xl/test_modeling_xlm_roberta_xl.py::XLMRobertaXLModelTest::test_sample_generate
```

Since this is unrelated to the current PR, is it OK to merge?

Hi @lewtun . Thank you for running. It is good to merge. But let me rebase and re-run it, as @gante fixed the issue in #18696 merged into `main`.

I will take care of the merge when everything is fine. Thanks again for the review.