refactor: split ai/ into hermes/ and ollama/ directories with gfx906 build #19

Merged
gortium merged 21 commits from feat/ollama-gfx906 into master 2026-05-11 01:26:12 +00:00
5 changed files with 92 additions and 2 deletions
Showing only changes of commit d52f18b0fa - Show all commits

View File

@@ -51,7 +51,7 @@ RUN mkdir -p build-cpu && cd build-cpu && \
# Step 2: Build HIP backend with hipcc (legacy mode skips enable_language(HIP))
RUN mkdir -p build-hip && cd build-hip && \
CC=hipcc CXX=hipcc cmake .. \
-DAMDGPU_TARGETS="gfx906:xnack-;gfx940;gfx1010;gfx1030;gfx1100;gfx1200" \
-DAMDGPU_TARGETS="gfx906:xnack-;gfx940;gfx1010;gfx1030;gfx1100" \
-DCMAKE_BUILD_TYPE=Release && \
CC=hipcc CXX=hipcc cmake --build . --target ggml-hip -- -l $(nproc) && \
cmake --install . --component HIP --strip --prefix /build/dist