File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -19,19 +19,19 @@ RUN export TPU_INFERENCE_VERSION=$(pip index versions tpu-inference --pre 2>/dev
1919 echo "Installing tpu-inference version: $TPU_INFERENCE_VERSION"
2020
2121# Clone vLLM
22- WORKDIR /workspace/vllm
22+ WORKDIR /workspace/vllm_build
2323ARG VLLM_REPO=https://github.com/vllm-project/vllm.git
24- RUN git clone $VLLM_REPO /workspace/vllm
24+ RUN git clone $VLLM_REPO /workspace/vllm_build
2525RUN pip install build
2626RUN export TPU_INFERENCE_VERSION=$(cat /tmp/tpu_inference_version) && \
27- echo "Using tpu-inference version: $TPU_INFERENCE_VERSION" && \
27+ echo "Using tpu-inference version: ${ TPU_INFERENCE_VERSION} " && \
2828 sed -i "s/^tpu-inference==.*/tpu-inference==${TPU_INFERENCE_VERSION}/" requirements/tpu.txt && \
2929 echo "Starting build.sh" && \
3030 bash tools/vllm-tpu/build.sh ${TPU_INFERENCE_VERSION}
3131
3232# Install vllm-tpu from wheel
3333RUN echo "pip installing vllm-tpu" && \
34- pip install dist/*.whl
34+ pip install --no-cache-dir dist/*.whl
3535# RUN export TPU_INFERENCE_VERSION=$(cat /tmp/tpu_inference_version) && \
3636 # export PIP_VERSION=$(echo "$TPU_INFERENCE_VERSION" | sed 's/^v//') && \
3737 # echo "Installing vllm-tpu version: $PIP_VERSION" && \
@@ -46,4 +46,8 @@ RUN python3 -m pip install --no-cache-dir \
4646 pytest-cov \
4747 tblib
4848
49+ # Preventing shadowing
50+ # WORKDIR /workspace
51+ # RUN mv /workspace/vllm /workspace/vllm_backup
52+
4953CMD ["/bin/bash"]
You can’t perform that action at this time.
0 commit comments