File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -487,7 +487,7 @@ jobs:
487
487
id : depends
488
488
run : |
489
489
sudo apt-get update
490
- sudo apt-get install -y build-essential git cmake rocblas-dev hipblas-dev libcurl4-openssl-dev
490
+ sudo apt-get install -y build-essential git cmake rocblas-dev hipblas-dev libcurl4-openssl-dev rocwmma-dev
491
491
492
492
- name : ccache
493
493
@@ -1097,10 +1097,12 @@ jobs:
1097
1097
id : checkout
1098
1098
uses : actions/checkout@v4
1099
1099
1100
- - name : Clone rocWMMA repository
1101
- id : clone_rocwmma
1100
+ - name : Grab rocWMMA package
1101
+ id : grab_rocwmma
1102
1102
run : |
1103
- git clone https://github.com/rocm/rocwmma --branch rocm-${{ env.ROCM_VERSION }} --depth 1
1103
+ curl -o rocwmma.deb "https://repo.radeon.com/rocm/apt/${{ env.ROCM_VERSION }}/pool/main/r/rocwmma-dev/rocwmma-dev_1.7.0.60402-120~24.04_amd64.deb"
1104
+ 7z x rocwmma.deb
1105
+ 7z x data.tar
1104
1106
1105
1107
- name : Cache ROCm Installation
1106
1108
id : cache-rocm
@@ -1161,8 +1163,9 @@ jobs:
1161
1163
cmake -G "Unix Makefiles" -B build -S . `
1162
1164
-DCMAKE_C_COMPILER="${env:HIP_PATH}\bin\clang.exe" `
1163
1165
-DCMAKE_CXX_COMPILER="${env:HIP_PATH}\bin\clang++.exe" `
1164
- -DCMAKE_CXX_FLAGS="-I$($PWD.Path.Replace('\', '/'))/rocwmma/library /include/" `
1166
+ -DCMAKE_CXX_FLAGS="-I$($PWD.Path.Replace('\', '/'))/opt/rocm-${{ env.ROCM_VERSION }} /include/" `
1165
1167
-DCMAKE_BUILD_TYPE=Release `
1168
+ -DROCM_DIR="${env:HIP_PATH}" `
1166
1169
-DGGML_HIP=ON `
1167
1170
-DGGML_HIP_ROCWMMA_FATTN=ON `
1168
1171
-DGGML_RPC=ON `
Original file line number Diff line number Diff line change @@ -543,10 +543,12 @@ jobs:
543
543
id : checkout
544
544
uses : actions/checkout@v4
545
545
546
- - name : Clone rocWMMA repository
547
- id : clone_rocwmma
546
+ - name : Grab rocWMMA package
547
+ id : grab_rocwmma
548
548
run : |
549
- git clone https://github.com/rocm/rocwmma --branch develop --depth 1
549
+ curl -o rocwmma.deb "https://repo.radeon.com/rocm/apt/7.0.1/pool/main/r/rocwmma-dev/rocwmma-dev_2.0.0.70001-42~24.04_amd64.deb"
550
+ 7z x rocwmma.deb
551
+ 7z x data.tar
550
552
551
553
- name : Cache ROCm Installation
552
554
id : cache-rocm
@@ -601,7 +603,7 @@ jobs:
601
603
cmake -G "Unix Makefiles" -B build -S . `
602
604
-DCMAKE_C_COMPILER="${env:HIP_PATH}\bin\clang.exe" `
603
605
-DCMAKE_CXX_COMPILER="${env:HIP_PATH}\bin\clang++.exe" `
604
- -DCMAKE_CXX_FLAGS="-I$($PWD.Path.Replace('\', '/'))/rocwmma/library /include/ -Wno-ignored-attributes -Wno-nested-anon-types" `
606
+ -DCMAKE_CXX_FLAGS="-I$($PWD.Path.Replace('\', '/'))/opt/rocm-7.0.1 /include/ -Wno-ignored-attributes -Wno-nested-anon-types" `
605
607
-DCMAKE_BUILD_TYPE=Release `
606
608
-DGGML_BACKEND_DL=ON `
607
609
-DGGML_NATIVE=OFF `
You can’t perform that action at this time.
0 commit comments