AMD: block running on unsupported gfx900/gfx906 (#12481)

This commit is contained in:
Daniel Hiltgen
2025-10-02 16:53:05 -07:00
committed by GitHub
parent c68f367ef6
commit 55ca827267
3 changed files with 3 additions and 0 deletions

View File

@@ -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@v4