mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 03:44:56 +08:00
[CI] Remove duplicated docs build from buildkite (#22924)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
parent
48f4636927
commit
e8b40c7fa2
@ -31,16 +31,6 @@
|
|||||||
steps:
|
steps:
|
||||||
##### fast check tests #####
|
##### fast check tests #####
|
||||||
|
|
||||||
- label: Documentation Build # 2min
|
|
||||||
mirror_hardwares: [amdexperimental]
|
|
||||||
working_dir: "/vllm-workspace/test_docs"
|
|
||||||
fast_check: true
|
|
||||||
no_gpu: True
|
|
||||||
commands:
|
|
||||||
- pip install -r ../requirements/docs.txt
|
|
||||||
# TODO: add `--strict` once warnings in docstrings are fixed
|
|
||||||
- mkdocs build
|
|
||||||
|
|
||||||
- label: Pytorch Nightly Dependency Override Check # 2min
|
- label: Pytorch Nightly Dependency Override Check # 2min
|
||||||
# if this test fails, it means the nightly torch version is not compatible with some
|
# if this test fails, it means the nightly torch version is not compatible with some
|
||||||
# of the dependencies. Please check the error message and add the package to whitelist
|
# of the dependencies. Please check the error message and add the package to whitelist
|
||||||
|
|||||||
@ -497,14 +497,11 @@ ENV HF_HUB_ENABLE_HF_TRANSFER 1
|
|||||||
# Copy in the v1 package for testing (it isn't distributed yet)
|
# Copy in the v1 package for testing (it isn't distributed yet)
|
||||||
COPY vllm/v1 /usr/local/lib/python${PYTHON_VERSION}/dist-packages/vllm/v1
|
COPY vllm/v1 /usr/local/lib/python${PYTHON_VERSION}/dist-packages/vllm/v1
|
||||||
|
|
||||||
# doc requires source code
|
# Source code is used in the `python_only_compile.sh` test
|
||||||
# we hide them inside `test_docs/` , so that this source code
|
# We hide it inside `src/` so that this source code
|
||||||
# will not be imported by other tests
|
# will not be imported by other tests
|
||||||
RUN mkdir test_docs
|
RUN mkdir src
|
||||||
RUN mv docs test_docs/
|
RUN mv vllm src/vllm
|
||||||
RUN cp -r examples test_docs/
|
|
||||||
RUN mv vllm test_docs/
|
|
||||||
RUN mv mkdocs.yaml test_docs/
|
|
||||||
#################### TEST IMAGE ####################
|
#################### TEST IMAGE ####################
|
||||||
|
|
||||||
#################### OPENAI API SERVER ####################
|
#################### OPENAI API SERVER ####################
|
||||||
|
|||||||
@ -10,7 +10,7 @@ cd /vllm-workspace/
|
|||||||
# uninstall vllm
|
# uninstall vllm
|
||||||
pip3 uninstall -y vllm
|
pip3 uninstall -y vllm
|
||||||
# restore the original files
|
# restore the original files
|
||||||
mv test_docs/vllm ./vllm
|
mv src/vllm ./vllm
|
||||||
|
|
||||||
# remove all compilers
|
# remove all compilers
|
||||||
apt remove --purge build-essential -y
|
apt remove --purge build-essential -y
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user