File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ FROM ${BASE_ROCM_DEV_CONTAINER} AS build
11
11
# Unless otherwise specified, we make a fat build.
12
12
# List from https://github.com/ggerganov/llama.cpp/pull/1087#issuecomment-1682807878
13
13
# This is mostly tied to rocBLAS supported archs.
14
- ARG ROCM_DOCKER_ARCH=\
14
+ ARG ROCM_DOCKER_ARCH=" \
15
15
gfx803 \
16
16
gfx900 \
17
17
gfx906 \
@@ -21,7 +21,7 @@ ARG ROCM_DOCKER_ARCH=\
21
21
gfx1030 \
22
22
gfx1100 \
23
23
gfx1101 \
24
- gfx1102
24
+ gfx1102"
25
25
26
26
COPY requirements.txt requirements.txt
27
27
COPY requirements requirements
@@ -34,7 +34,7 @@ WORKDIR /app
34
34
COPY . .
35
35
36
36
# Set nvcc architecture
37
- ENV GPU_TARGETS =${ROCM_DOCKER_ARCH}
37
+ ENV AMDGPU_TARGETS =${ROCM_DOCKER_ARCH}
38
38
# Enable ROCm
39
39
ENV GGML_HIPBLAS=1
40
40
ENV CC=/opt/rocm/llvm/bin/clang
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ FROM ${BASE_ROCM_DEV_CONTAINER} AS build
11
11
# Unless otherwise specified, we make a fat build.
12
12
# List from https://github.com/ggerganov/llama.cpp/pull/1087#issuecomment-1682807878
13
13
# This is mostly tied to rocBLAS supported archs.
14
- ARG ROCM_DOCKER_ARCH=\
14
+ ARG ROCM_DOCKER_ARCH=" \
15
15
gfx803 \
16
16
gfx900 \
17
17
gfx906 \
@@ -21,7 +21,7 @@ ARG ROCM_DOCKER_ARCH=\
21
21
gfx1030 \
22
22
gfx1100 \
23
23
gfx1101 \
24
- gfx1102
24
+ gfx1102"
25
25
26
26
COPY requirements.txt requirements.txt
27
27
COPY requirements requirements
@@ -34,7 +34,7 @@ WORKDIR /app
34
34
COPY . .
35
35
36
36
# Set nvcc architecture
37
- ENV GPU_TARGETS =${ROCM_DOCKER_ARCH}
37
+ ENV AMDGPU_TARGETS =${ROCM_DOCKER_ARCH}
38
38
# Enable ROCm
39
39
ENV GGML_HIPBLAS=1
40
40
ENV CC=/opt/rocm/llvm/bin/clang
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ FROM ${BASE_ROCM_DEV_CONTAINER} AS build
11
11
# Unless otherwise specified, we make a fat build.
12
12
# List from https://github.com/ggerganov/llama.cpp/pull/1087#issuecomment-1682807878
13
13
# This is mostly tied to rocBLAS supported archs.
14
- ARG ROCM_DOCKER_ARCH=\
14
+ ARG ROCM_DOCKER_ARCH=" \
15
15
gfx803 \
16
16
gfx900 \
17
17
gfx906 \
@@ -21,7 +21,7 @@ ARG ROCM_DOCKER_ARCH=\
21
21
gfx1030 \
22
22
gfx1100 \
23
23
gfx1101 \
24
- gfx1102
24
+ gfx1102"
25
25
26
26
COPY requirements.txt requirements.txt
27
27
COPY requirements requirements
@@ -34,7 +34,7 @@ WORKDIR /app
34
34
COPY . .
35
35
36
36
# Set nvcc architecture
37
- ENV GPU_TARGETS =${ROCM_DOCKER_ARCH}
37
+ ENV AMDGPU_TARGETS =${ROCM_DOCKER_ARCH}
38
38
# Enable ROCm
39
39
ENV GGML_HIPBLAS=1
40
40
ENV CC=/opt/rocm/llvm/bin/clang
Original file line number Diff line number Diff line change @@ -1032,7 +1032,7 @@ jobs:
1032
1032
run : |
1033
1033
$env:HIP_PATH=$(Resolve-Path 'C:\Program Files\AMD\ROCm\*\bin\clang.exe' | split-path | split-path)
1034
1034
$env:CMAKE_PREFIX_PATH="${env:HIP_PATH}"
1035
- cmake -G "Unix Makefiles" -B build -S . -DCMAKE_C_COMPILER="${env:HIP_PATH}\bin\clang.exe" -DCMAKE_CXX_COMPILER="${env:HIP_PATH}\bin\clang++.exe" -DGGML_HIPBLAS=ON -DCMAKE_BUILD_TYPE=Release -DGPU_TARGETS =${{ matrix.gpu_target }} -DGGML_RPC=ON
1035
+ cmake -G "Unix Makefiles" -B build -S . -DCMAKE_C_COMPILER="${env:HIP_PATH}\bin\clang.exe" -DCMAKE_CXX_COMPILER="${env:HIP_PATH}\bin\clang++.exe" -DGGML_HIPBLAS=ON -DCMAKE_BUILD_TYPE=Release -DAMDGPU_TARGETS =${{ matrix.gpu_target }} -DGGML_RPC=ON
1036
1036
cmake --build build -j ${env:NUMBER_OF_PROCESSORS}
1037
1037
md "build\bin\rocblas\library\"
1038
1038
cp "${env:HIP_PATH}\bin\hipblas.dll" "build\bin\"
You can’t perform that action at this time.
0 commit comments