Skip to content

Commit

Permalink
[ci/build] Pin CI dependencies version with pip-compile (vllm-project…
Browse files Browse the repository at this point in the history
…#9810)

Signed-off-by: kevin <[email protected]>
Signed-off-by: NickLucche <[email protected]>
  • Loading branch information
khluu authored and NickLucche committed Oct 31, 2024
1 parent d63e563 commit d215651
Show file tree
Hide file tree
Showing 4 changed files with 608 additions and 42 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.rocm
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ ARG GIT_REPO_CHECK=0
RUN --mount=type=bind,source=.git,target=.git \
if [ "$GIT_REPO_CHECK" != 0 ]; then bash tools/check_repo.sh ; fi

RUN python3 -m pip install --upgrade pip

# Package upgrades for useful functionality or to avoid dependency issues
RUN --mount=type=cache,target=/root/.cache/pip \
python3 -m pip install --upgrade numba scipy huggingface-hub[cli] pytest-shard
Expand Down
18 changes: 9 additions & 9 deletions requirements-build.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Should be mirrored in pyproject.toml
cmake>=3.26
ninja
packaging
setuptools>=61
setuptools-scm>=8
torch==2.5.0
wheel
jinja2
# Should be mirrored in pyproject.toml
cmake>=3.26
ninja
packaging
setuptools>=61
setuptools-scm>=8
torch==2.5.0
wheel
jinja2
37 changes: 37 additions & 0 deletions requirements-test.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# testing
pytest
tensorizer>=2.9.0
pytest-forked
pytest-asyncio
pytest-rerunfailures
pytest-shard

# testing utils
awscli
einops # required for MPT, qwen-vl and Mamba
httpx
librosa # required for audio tests
opencv-python # required for video tests
peft
requests
ray[adag]==2.35
sentence-transformers # required for embedding
soundfile # required for audio test
timm # required for internvl test
torch==2.5.0
transformers_stream_generator # required for qwen-vl test
matplotlib # required for qwen-vl test
datamodel_code_generator # required for minicpm3 test
lm-eval[api]==0.4.4 # required for model evaluation test

# TODO: Add this after fully implementing llava(mantis)
# git+https://github.com/TIGER-AI-Lab/Mantis.git # required for llava(mantis) test

# Benchmarking
aiohttp

# quantization
bitsandbytes>=0.44.0
buildkite-test-collector==0.1.8

numpy < 2.0.0
Loading

0 comments on commit d215651

Please sign in to comment.