Skip to content

Commit 1318463

Browse files
committed
README: add uv notes
1 parent daf770f commit 1318463

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ pre-commit install
7070
pre-commit run --all-files
7171
```
7272

73-
This project uses [`nox`](https://github.com/wntrblm/nox) to manage test automation:
73+
This project uses [`nox`](https://github.com/wntrblm/nox) to manage test automation and [`uv`](https://github.com/astral-sh/uv) for venv management:
7474

7575
```bash
76-
pip install nox
76+
pip install nox uv
7777
nox --list # list available sessions
7878
nox -s tests-3.10 # run tests session for a specific python version
7979
nox -s build-3.11 # build the wheel package
@@ -88,8 +88,9 @@ The standard vllm built requires an Nvidia GPU. When this is not available, it i
8888

8989
env \
9090
VLLM_CPU_DISABLE_AVX512=true VLLM_TARGET_DEVICE=cpu \
91-
PIP_EXTRA_INDEX_URL=https://download.pytorch.org/whl/cpu \
92-
pip install git+https://github.com/vllm-project/vllm
91+
UV_EXTRA_INDEX_URL=https://download.pytorch.org/whl/cpu \
92+
UV_INDEX_STRATEGY=unsafe-best-match\
93+
uv pip install git+https://github.com/vllm-project/vllm
9394
```
9495

95-
making it possible to run the tests on most hardware. Please note that the `pip` extra index url is required in order to install the torch CPU version.
96+
making it possible to run the tests on most hardware. Please note that the `uv` extra index url is required in order to install the torch CPU version.

0 commit comments

Comments
 (0)