From 325d79ceaca189e55a7f279e065d287925ab3b1d Mon Sep 17 00:00:00 2001 From: Tyler Titsworth Date: Mon, 12 Aug 2024 09:16:59 -0700 Subject: [PATCH] Remove keyless sources from pytorch xpu (#293) Signed-off-by: Tyler Titsworth Co-authored-by: Srikanth Ramakrishna --- pytorch/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pytorch/Dockerfile b/pytorch/Dockerfile index 809da9c8..0a68ac58 100644 --- a/pytorch/Dockerfile +++ b/pytorch/Dockerfile @@ -194,7 +194,8 @@ RUN apt-get update && \ WORKDIR / COPY xpu-requirements.txt . -RUN python -m pip install --no-cache-dir -r xpu-requirements.txt +RUN python -m pip install --no-cache-dir -r xpu-requirements.txt && \ + rm -rf xpu-requirements.txt /etc/apt/sources.list.d/intel-gpu-jammy.list /etc/apt/sources.list.d/oneAPI.list ENV LD_LIBRARY_PATH=/opt/intel/oneapi/redist/lib:$LD_LIBRARY_PATH