Open
Description
📚 The doc issue
https://docs.vllm.ai/en/stable/contributing/overview.html doesn't work on macOS Apple silicon.
https://docs.vllm.ai/en/latest/getting_started/installation/cpu.html?device=apple#build-wheel-from-source works but requirements/dev.txt
isn't compatible.
$ pip install -r requirements/dev.txt
Collecting pre-commit==4.0.1 (from -r /Users/dxia/src/github.com/vllm-project/vllm/requirements/lint.txt (line 2))
Downloading pre_commit-4.0.1-py2.py3-none-any.whl.metadata (1.3 kB)
Collecting absl-py==2.1.0 (from -r /Users/dxia/src/github.com/vllm-project/vllm/requirements/test.txt (line 3))
Downloading absl_py-2.1.0-py3-none-any.whl.metadata (2.3 kB)
Collecting accelerate==1.0.1 (from -r /Users/dxia/src/github.com/vllm-project/vllm/requirements/test.txt (line 5))
Downloading accelerate-1.0.1-py3-none-any.whl.metadata (19 kB)
Collecting aiohappyeyeballs==2.4.3 (from -r /Users/dxia/src/github.com/vllm-project/vllm/requirements/test.txt (line 9))
Downloading aiohappyeyeballs-2.4.3-py3-none-any.whl.metadata (6.1 kB)
Collecting aiohttp==3.10.11 (from -r /Users/dxia/src/github.com/vllm-project/vllm/requirements/test.txt (line 11))
Downloading aiohttp-3.10.11-cp312-cp312-macosx_11_0_arm64.whl.metadata (7.7 kB)
Collecting aiosignal==1.3.1 (from -r /Users/dxia/src/github.com/vllm-project/vllm/requirements/test.txt (line 16))
Using cached aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Requirement already satisfied: annotated-types==0.7.0 in ./.venv/lib/python3.12/site-packages (from -r /Users/dxia/src/github.com/vllm-project/vllm/requirements/test.txt (line 20)) (0.7.0)
Collecting anyio==4.6.2.post1 (from -r /Users/dxia/src/github.com/vllm-project/vllm/requirements/test.txt (line 22))
Using cached anyio-4.6.2.post1-py3-none-any.whl.metadata (4.7 kB)
Collecting argcomplete==3.5.1 (from -r /Users/dxia/src/github.com/vllm-project/vllm/requirements/test.txt (line 26))
Downloading argcomplete-3.5.1-py3-none-any.whl.metadata (16 kB)
Collecting arrow==1.3.0 (from -r /Users/dxia/src/github.com/vllm-project/vllm/requirements/test.txt (line 28))
Using cached arrow-1.3.0-py3-none-any.whl.metadata (7.5 kB)
Collecting attrs==24.2.0 (from -r /Users/dxia/src/github.com/vllm-project/vllm/requirements/test.txt (line 30))
Using cached attrs-24.2.0-py3-none-any.whl.metadata (11 kB)
Collecting audioread==3.0.1 (from -r /Users/dxia/src/github.com/vllm-project/vllm/requirements/test.txt (line 38))
Downloading audioread-3.0.1-py3-none-any.whl.metadata (8.4 kB)
Collecting awscli==1.35.23 (from -r /Users/dxia/src/github.com/vllm-project/vllm/requirements/test.txt (line 40))
Downloading awscli-1.35.23-py3-none-any.whl.metadata (11 kB)
Collecting backoff==2.2.1 (from -r /Users/dxia/src/github.com/vllm-project/vllm/requirements/test.txt (line 42))
Downloading backoff-2.2.1-py3-none-any.whl.metadata (14 kB)
ERROR: Could not find a version that satisfies the requirement bitsandbytes==0.45.3 (from versions: 0.31.8, 0.32.0, 0.32.1, 0.32.2, 0.32.3, 0.33.0, 0.33.1, 0.34.0, 0.35.0, 0.35.1, 0.35.2, 0.35.3, 0.35.4, 0.36.0, 0.36.0.post1, 0.36.0.post2, 0.37.0, 0.37.1, 0.37.2, 0.38.0, 0.38.0.post1, 0.38.0.post2, 0.38.1, 0.39.0, 0.39.1, 0.40.0, 0.40.0.post1, 0.40.0.post2, 0.40.0.post3, 0.40.0.post4, 0.40.1, 0.40.1.post1, 0.40.2, 0.41.0, 0.41.1, 0.41.2, 0.41.2.post1, 0.41.2.post2, 0.41.3, 0.41.3.post1, 0.41.3.post2, 0.42.0)
ERROR: No matching distribution found for bitsandbytes==0.45.3
After installing pre-commit manually with pip install pre-commit==4.0.1
, running pre-commit fails because runai-model-streamer
doesn't have a Mac wheel.
$ pre-commit run --all-files --show-diff-on-failure
[INFO] Initializing environment for https://github.com/google/yapf.
[INFO] Initializing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Initializing environment for https://github.com/codespell-project/codespell.
[INFO] Initializing environment for https://github.com/codespell-project/codespell:tomli.
[INFO] Initializing environment for https://github.com/PyCQA/isort.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-clang-format.
[INFO] Initializing environment for https://github.com/jackdewinter/pymarkdown.
[INFO] Initializing environment for https://github.com/rhysd/actionlint.
[INFO] Initializing environment for https://github.com/astral-sh/uv-pre-commit.
[INFO] Initializing environment for local:mypy==1.11.1,types-cachetools,types-setuptools,types-PyYAML,types-requests.
[INFO] Installing environment for https://github.com/google/yapf.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/codespell-project/codespell.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/PyCQA/isort.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-clang-format.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/jackdewinter/pymarkdown.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/rhysd/actionlint.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/astral-sh/uv-pre-commit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for local.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
yapf.....................................................................Passed
ruff.....................................................................Passed
codespell................................................................Passed
isort....................................................................Passed
clang-format.............................................................Passed
PyMarkdown...............................................................Passed
Lint GitHub Actions workflow files.......................................Passed
pip-compile..............................................................Failed
- hook id: pip-compile
- exit code: 1
× No solution found when resolving dependencies:
╰─▶ Because runai-model-streamer==0.11.0 has no wheels with a
matching platform tag (e.g., `macosx_15_0_arm64`) and you require
runai-model-streamer==0.11.0, we can conclude that your requirements
are unsatisfiable.
hint: Wheels are available for `runai-model-streamer` (v0.11.0) on the
following platform: `manylinux2014_x86_64`
Run mypy for local Python installation...................................Passed
Lint shell scripts.......................................................Passed
Lint PNG exports from excalidraw.........................................Passed
Check SPDX headers.......................................................Passed
Check for spaces in all filenames........................................Passed
Update Dockerfile dependency graph.......................................Passed
Suggestion...............................................................Passed
- hook id: suggestion
- duration: 0.01s
To bypass pre-commit hooks, add --no-verify to git commit.
Suggest a potential alternative/fix
No response
Before submitting a new issue...
- Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.