File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -26,20 +26,20 @@ RUN pip install intel_extension_for_pytorch==2.5.0
26
26
27
27
WORKDIR /workspace
28
28
29
- COPY requirements-build.txt requirements-build.txt
30
29
ARG PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu"
31
30
ENV PIP_EXTRA_INDEX_URL=${PIP_EXTRA_INDEX_URL}
32
31
RUN --mount=type=cache,target=/root/.cache/pip \
32
+ --mount=type=bind,src=requirements-build.txt,target=requirements-build.txt \
33
33
pip install --upgrade pip && \
34
34
pip install -r requirements-build.txt
35
35
36
36
FROM cpu-test-1 AS build
37
37
38
38
WORKDIR /workspace/vllm
39
39
40
- COPY requirements-common.txt requirements-common.txt
41
- COPY requirements-cpu.txt requirements-cpu.txt
42
40
RUN --mount=type=cache,target=/root/.cache/pip \
41
+ --mount=type=bind,src=requirements-common.txt,target=requirements-common.txt \
42
+ --mount=type=bind,src=requirements-cpu.txt,target=requirements-cpu.txt \
43
43
pip install -v -r requirements-cpu.txt
44
44
45
45
COPY . .
Original file line number Diff line number Diff line change @@ -472,13 +472,9 @@ def get_gaudi_sw_version():
472
472
473
473
474
474
def get_vllm_version () -> str :
475
- # TODO: Revisit this temporary approach: https://github.com/vllm-project/vllm/issues/9182#issuecomment-2404860236
476
- try :
477
- version = get_version (
478
- write_to = "vllm/_version.py" , # TODO: move this to pyproject.toml
479
- )
480
- except LookupError :
481
- version = "0.0.0"
475
+ version = get_version (
476
+ write_to = "vllm/_version.py" , # TODO: move this to pyproject.toml
477
+ )
482
478
483
479
sep = "+" if "+" not in version else "." # dev versions might contain +
484
480
You can’t perform that action at this time.
0 commit comments