Skip to content

Commit 7409ae2

Browse files
authored
Add PT_VERSION argument and install torchaudio in Dockerfile (#1043)
Signed-off-by: PatrykWo <patryk.wolsza@intel.com>
1 parent 9d272ef commit 7409ae2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/pytorch_ci_hud_benchmark/Dockerfile.hpu

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ FROM ${DOCKER_URL}/${VERSION}/${BASE_NAME}/${REPO_TYPE}/pytorch-installer-${PT_V
1313
ARG VLLM_GAUDI_COMMIT=main
1414
# VLLM_COMMIT can be overridden by user, defaults to last compatible version
1515
ARG VLLM_COMMIT=
16+
ARG PT_VERSION
1617

1718
ENV OMPI_MCA_btl_vader_single_copy_mechanism=none
1819

@@ -54,6 +55,7 @@ RUN mkdir -p $VLLM_PLUGIN_PATH && \
5455
VLLM_TARGET_DEVICE=hpu && pip install -v $VLLM_PLUGIN_PATH --no-build-isolation
5556

5657
RUN pip install datasets && \
57-
pip install pandas
58+
pip install pandas && \
59+
pip install --no-deps torchaudio==${PT_VERSION}
5860

5961
ENTRYPOINT ["/bin/bash"]

0 commit comments

Comments
 (0)