Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
AMD: block running on unsupported gfx900/gfx906 (#12481)
Daniel Hiltgen55ca82726753
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yamlindex fc3cde9c9..31aed651f 100644--- a/.github/workflows/release.yaml+++ b/.github/workflows/release.yaml@@ -163,6 +163,7 @@ jobs:cmake --preset "${{ matrix.preset }}" ${{ matrix.flags }} -DOLLAMA_RUNNER_DIR="${{ matrix.runner_dir }}"cmake --build --parallel --preset "${{ matrix.preset }}"cmake --install build --component "${{ startsWith(matrix.preset, 'CUDA ') && 'CUDA' || startsWith(matrix.preset, 'ROCm ') && 'HIP' || 'CPU' }}" --strip --parallel 8+ rm -f dist\lib\ollama\rocm\rocblas\library\*gfx906*env:CMAKE_GENERATOR: Ninja- uses: actions/upload-artifact@v4diff --git a/Dockerfile b/Dockerfileindex e3ab29af1..6407f7097 100644--- a/Dockerfile+++ b/Dockerfile@@ -80,6 +80,7 @@ RUN --mount=type=cache,target=/root/.ccache \cmake --preset 'ROCm 6' -DOLLAMA_RUNNER_DIR="rocm" \&& cmake --build --parallel ${PARALLEL} --preset 'ROCm 6' \&& cmake --install build --component HIP --strip --parallel ${PARALLEL}+RUN rm -f dist/lib/ollama/rocm/rocblas/library/*gfx90[06]*FROM --platform=linux/arm64 nvcr.io/nvidia/l4t-jetpack:${JETPACK5VERSION} AS jetpack-5ARG CMAKEVERSIONdiff --git a/scripts/build_windows.ps1 b/scripts/build_windows.ps1index 4c9d31193..2509f1e55 100644--- a/scripts/build_windows.ps1+++ b/scripts/build_windows.ps1@@ -179,6 +179,7 @@ function buildROCm() {if ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)}& cmake --install build --component "HIP" --stripif ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)}+ rm -f $script:DIST_DIR\lib\ollama\rocm\rocblas\library\*gfx906*}}}