From aa6bbe87bfeced300cb6606b4f04124b31e4f84d Mon Sep 17 00:00:00 2001 From: Hermes Date: Sat, 9 May 2026 22:40:40 -0400 Subject: [PATCH] fix: correct AMDGPU_TARGETS to include gfx940/gfx1010/gfx1200 Targets were corrupted during previous patch iterations, contained gfx908/gfx90a from the CMake preset instead of gfx940/gfx1010/gfx1200. --- ai/ollama/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai/ollama/Dockerfile b/ai/ollama/Dockerfile index 233229f..172af7c 100644 --- a/ai/ollama/Dockerfile +++ b/ai/ollama/Dockerfile @@ -46,7 +46,7 @@ ENV LDFLAGS=-s RUN mkdir -p build && cd build && \ cmake .. \ --preset 'ROCm 6' \ - -DAMDGPU_TARGETS="gfx906:xnack-;gfx908:xnack-;gfx90a:xnack-;gfx1030;gfx1100" \ + -DAMDGPU_TARGETS="gfx906:xnack-;gfx940;gfx1010;gfx1030;gfx1100;gfx1200" \ -DCMAKE_HIP_COMPILER=/opt/rocm/bin/amdclang++ \ -DCMAKE_BUILD_TYPE=Release && \ cmake --build . -- -l $(nproc) && \