From 785f27b10052a0f444fea4473f2e356d438422aa Mon Sep 17 00:00:00 2001 From: Donato Capitella Date: Wed, 4 Feb 2026 17:17:51 +0000 Subject: [PATCH] MAKE_HIP_FLAGS to fix performance regression --- toolboxes/Dockerfile.rocm-7.2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/toolboxes/Dockerfile.rocm-7.2 b/toolboxes/Dockerfile.rocm-7.2 index 97eae55..0e77218 100644 --- a/toolboxes/Dockerfile.rocm-7.2 +++ b/toolboxes/Dockerfile.rocm-7.2 @@ -41,7 +41,7 @@ RUN git clean -xdf \ && git submodule update --recursive \ && cmake -S . -B build \ -DGGML_HIP=ON \ - -DCMAKE_HIP_FLAGS="-mllvm --amdgpu-unroll-threshold-local=600" \ + -DCMAKE_HIP_FLAGS="--rocm-path=/opt/rocm -mllvm --amdgpu-unroll-threshold-local=600" \ -DAMDGPU_TARGETS=gfx1151 \ -DCMAKE_BUILD_TYPE=Release \ -DGGML_RPC=ON \ @@ -50,7 +50,6 @@ RUN git clean -xdf \ -DROCM_PATH=/opt/rocm \ -DHIP_PATH=/opt/rocm \ -DHIP_PLATFORM=amd \ - -DCMAKE_HIP_FLAGS="--rocm-path=/opt/rocm" \ && cmake --build build --config Release -- -j$(nproc) \ && cmake --install build --config Release