Repository: modelscope/evalscope
Issue: arm64平台无法安装modelscope[vlmeval]
Root cause: External Dependency Breakage

## 自查清单

在提交 issue 之前，请确保您已完成以下步骤:
- [x] 我已仔细阅读了[相关使用说明文档](https://evalscope.readthedocs.io/zh-cn/latest/get_started/parameters.html)
- [x] 我已查看了[常见问题解答](https://evalscope.readthedocs.io/zh-cn/latest/get_started/faq.html)
- [x] 我已搜索并查看了现有的 issues，确认这不是一个重复的问题

## 问题描述

请简要描述您遇到的问题。

## EvalScope 版本（必填）
v1.x(github克隆的最新版本)

## 使用的工具
- [ ] Native / 原生框架
- [ ] Opencompass backend
- [x] VLMEvalKit backend
- [ ] RAGEval backend
- [ ] Perf / 模型推理压测工具
- [ ] Arena / 竞技场模式

## 执行的代码或指令
git clone https://github.com/modelscope/evalscope.git
cd evalscope
uv venv(python版本为3.18)
uv pip install -v -e .
uv pip install -v -e .[vlmeval]
请提供您执行的主要代码或指令。

## 错误日志

```bash
DEBUG No compatible version found for: evalscope[vlmeval]
WARN Skipping file for gradio: gradio-2.2.6-py3.8.egg
  × No solution found when resolving dependencies:
  ╰─▶ Because only the following versions of decord are available:
          decord==0.0.1
          decord==0.2.0
          decord==0.3.0
          decord==0.3.1
          decord==0.3.2
          decord==0.3.3
          decord==0.3.4
          decord==0.3.5
          decord==0.3.6
          decord==0.3.7
          decord==0.3.8
          decord==0.3.9
          decord==0.4.0
          decord==0.4.1
          decord==0.4.2
          decord==0.5.0
          decord==0.5.1
          decord==0.5.2
          decord==0.6.0
      and decord<=0.2.0 has no wheels with a matching Python ABI tag (e.g., `cp310`), we can conclude that decord<=0.2.0 cannot be used.
      And because decord>=0.3.0 has no wheels with a matching platform tag (e.g., `manylinux_2_38_aarch64`) and ms-vlmeval>=0.0.17 depends on decord, we can conclude that ms-vlmeval>=0.0.17 cannot be used.
      And because only the following versions of ms-vlmeval are available:
          ms-vlmeval<=0.0.17
          ms-vlmeval==0.0.18
      and evalscope[vlmeval]==2.0.0 depends on ms-vlmeval>=0.0.17, we can conclude that evalscope[vlmeval]==2.0.0 cannot be used.
      And because only evalscope[vlmeval]==2.0.0 is available and you require evalscope[vlmeval], we can conclude that your requirements are unsatisfiable.

      hint: Pre-releases are available for `decord` in the requested range (e.g., 0.2.0b20190929), but pre-releases weren't enabled (try: `--prerelease=allow`)

      hint: You require CPython 3.10 (`cp310`), but we only found wheels for `decord` (v0.2.0) with the following Python ABI tags: `cp35m`, `cp36m`, `cp37m`

      hint: Wheels are available for `decord` (v0.6.0) on the following platforms: `manylinux2010_x86_64`, `win_amd64`
DEBUG Released lock at `/root/venv/evalscope/.venv/.lock`
(evalscope) [root@910B-36 evalscope]# uv pip install decord==v0.6.0
  × No solution found when resolving dependencies:
  ╰─▶ Because decord==0.6.0 has no wheels with a matching platform tag (e.g., `manylinux_2_38_aarch64`) and you require decord==0.6.0, we can conclude that your requirements are unsatisfiable.

      hint: Wheels are available for `decord` (v0.6.0) on the following platforms: `manylinux2010_x86_64`, `win_amd64`
```

## 运行环境

- 操作系统：
```bash
cat /etc/os-release 
NAME="openEuler"
VERSION="24.03 (LTS)"
ID="openEuler"
VERSION_ID="24.03"
PRETTY_NAME="openEuler 24.03 (LTS)"
ANSI_COLOR="0;31"
```
- Python版本：Python 3.10.18
- 使用镜像：mindie2.1rc1基础镜像（mindie:2.1.RC1-800I-A2-py311-openeuler24.03-lts）
## 其他信息

看起来像是decord版本依赖的问题
另外提一下，llm的精度测评与vlm的精度测评依赖的antlr4-python3-runtime库似乎也有版本冲突
```
pip install antlr4-python3-runtime==4.9.2
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting antlr4-python3-runtime==4.9.2
  Using cached antlr4_python3_runtime-4.9.2-py3-none-any.whl
Installing collected packages: antlr4-python3-runtime
  Attempting uninstall: antlr4-python3-runtime
    Found existing installation: antlr4-python3-runtime 4.11.1
    Uninstalling antlr4-python3-runtime-4.11.1:
      Successfully uninstalled antlr4-python3-runtime-4.11.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
latex2sympy2-extended 1.0.6 requires antlr4-python3-runtime==4.13.2, but you have antlr4-python3-runtime 4.9.2 which is incompatible.
```
装上高版本的antlr4，vl模型精度测试有问题，装上低版本的antlr4，llm精度测试有问题
具体可import相对应的库进行复现：
```python
from evalscope.metrics import extract_answer, math_equal, strip_answer_string
import vlmeval
```

这个是因为 vlmeval 依赖的 omegaconf 需要 antlr4-python3-runtime 4.9.* ，这个库已经两年多没有发布新版本了。
安装`pip install latex2sympy2_extended[antlr4_9_3]`应该能解决llm精度测试问题