aa6bbe87bf
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.
2026-05-09 22:40:40 -04:00
0c612d9731
fix: remove unsupported AMDGPU_TARGETS (gfx1200) for ROCm 6.1
...
ROCm 6.1's AMD clang 17 doesn't support gfx1200 (RDNA4).
Use only targets supported by ROCm 6.1: gfx906, gfx908, gfx90a, gfx1030, gfx1100.
2026-05-09 22:30:21 -04:00
5b210fe624
fix: use ROCm amdclang++ as HIP compiler, keep GCC for CPU code
...
Setting CXX=hipcc caused compilation failures on CPU backends (AVX
intrinsics). Now using GCC for CPU, ROCm's amdclang++ for HIP only.
2026-05-09 22:29:10 -04:00
d8b77c97c3
fix: use CXX=hipcc legacy mode for HIP CMake build
...
CMake 3.31 refuses CMAKE_HIP_COMPILER=hipcc with 'not supported'.
Using CXX=hipcc triggers the legacy HIP detection path which works.
2026-05-09 22:20:44 -04:00
a3d0fa0072
fix: set CMAKE_HIP_COMPILER explicitly for ROCm 6.1 HIP detection
2026-05-09 22:19:50 -04:00
956d76f14d
fix: add unzip dependency for ninja installation
2026-05-09 22:14:53 -04:00
c6d2f5918f
fix: use ollama v0.23.2 native CMake build system for ROCm 6 + gfx906
...
The old Dockerfile used the deprecated llama.cpp/ subdirectory approach
which doesn't exist in ollama v0.23.2. Now using the official CMake
presets (ROCm 6 preset) with AMDGPU_TARGETS including gfx906:xnack-.
2026-05-09 22:13:47 -04:00
f023dc1ee4
fix: update ollama Dockerfile to v0.23.2 with proper ROCm 6.1 + gfx906 build
...
- Update OLLAMA_VERSION from v0.13.5 to v0.23.2
- Fix package: golang -> golang-go
- Add ENV HCC_AMDGPU_TARGET=gfx906 and HSA_ENABLE_SDMA=0
- Set proper ENTRYPOINT + CMD
2026-05-09 21:56:14 -04:00
ef58155897
feat: add custom ollama image with ROCm 6.1 + gfx906 support
...
- Add ollama/Dockerfile that builds ollama from source with AMDGPU_TARGETS=gfx906
- Uses ROCm 6.1 (rocm/dev-ubuntu-22.04:6.1.2-complete) for MI50 support
- Builds llama.cpp runner with HIPBLAS for gfx906 architecture
- Updates compose.yml to build from this Dockerfile instead of pulling ollama/ollama:latest
2026-05-09 21:18:37 -04:00