From 85137f5887fe99dfbf6e39da1c0b60f131e0a053 Mon Sep 17 00:00:00 2001 From: mertalev <101130780+mertalev@users.noreply.github.com> Date: Wed, 28 Jan 2026 09:27:28 -0500 Subject: [PATCH] disable cache --- machine-learning/Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/machine-learning/Dockerfile b/machine-learning/Dockerfile index f9f968f113..273f4f7183 100644 --- a/machine-learning/Dockerfile +++ b/machine-learning/Dockerfile @@ -45,10 +45,8 @@ RUN git apply /tmp/*.patch RUN /bin/sh ./dockerfiles/scripts/install_common_deps.sh ENV PATH=/opt/rocm-venv/bin:/code/cmake-3.31.9-linux-x86_64/bin:${PATH} -ENV CCACHE_DIR="/ccache" # Note: the `parallel` setting uses a substantial amount of RAM -RUN --mount=type=cache,target=/ccache,id=rocm-ccache \ - ./build.sh \ +RUN ./build.sh \ --allow_running_as_root \ --config Release \ --build_wheel \ @@ -61,7 +59,6 @@ RUN --mount=type=cache,target=/ccache,id=rocm-ccache \ --skip_tests \ --use_rocm \ --rocm_home=/opt/rocm \ - --use_cache \ --compile_no_warning_as_error RUN mv /code/onnxruntime/build/Linux/Release/dist/*.whl /opt/