Skip to content

Commit 03b99f5

Browse files
committed
fix for pre-commit failed job - Error: vllm/executor/ray_distributed_executor.py:531: error: Library stubs not installed for "pkg_resources" (4)
Signed-off-by: Alexandru Badea <george-alexandru.badea@ionos.com>
1 parent db0c2d6 commit 03b99f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ jobs:
1515
python-version: "3.12"
1616
- run: echo "::add-matcher::.github/workflows/matchers/actionlint.json"
1717
- run: echo "::add-matcher::.github/workflows/matchers/mypy.json"
18+
- name: Set VLLM_TARGET_DEVICE to CPU for pre-commit checks
19+
run: echo "VLLM_TARGET_DEVICE=cpu" >> $GITHUB_ENV
1820
- name: Install vLLM Build Dependencies
19-
run: pip install --requirement requirements/build.txt
21+
run: pip install -r requirements/build.txt
2022
- name: Install vLLM Project and Dev Dependencies
2123
run: pip install -e ".[dev]"
2224
- uses: pre-commit/action@v3.0.1 # Use the latest stable version tag

0 commit comments

Comments
 (0)