|
97 | 97 | vulkaninfo --summary |
98 | 98 | GG_BUILD_VULKAN=1 bash ./ci/run.sh ~/results/llama.cpp /mnt/llama.cpp |
99 | 99 |
|
| 100 | + # TODO: investigate slight precision issues in some operations for test-backend-ops on the WebGPU backend. |
| 101 | + #ggml-ci-nvidia-webgpu: |
| 102 | + # runs-on: [self-hosted, Linux, NVIDIA] |
| 103 | + |
| 104 | + # steps: |
| 105 | + # - name: Clone |
| 106 | + # id: checkout |
| 107 | + # uses: actions/checkout@v6 |
| 108 | + |
| 109 | + # - name: Dawn Dependency |
| 110 | + # id: dawn-depends |
| 111 | + # run: | |
| 112 | + # DAWN_VERSION="v20260317.182325" |
| 113 | + # DAWN_OWNER="google" |
| 114 | + # DAWN_REPO="dawn" |
| 115 | + # DAWN_ASSET_NAME="Dawn-18eb229ef5f707c1464cc581252e7603c73a3ef0-ubuntu-latest-Release" |
| 116 | + # echo "Fetching release asset from https://github.com/google/dawn/releases/download/${DAWN_VERSION}/${DAWN_ASSET_NAME}.tar.gz" |
| 117 | + # curl -L -o artifact.tar.gz \ |
| 118 | + # "https://github.com/google/dawn/releases/download/${DAWN_VERSION}/${DAWN_ASSET_NAME}.tar.gz" |
| 119 | + # mkdir dawn |
| 120 | + # tar -xvf artifact.tar.gz -C dawn --strip-components=1 |
| 121 | + |
| 122 | + # - name: Test |
| 123 | + # id: ggml-ci |
| 124 | + # run: | |
| 125 | + # GG_BUILD_WEBGPU=1 \ |
| 126 | + # GG_BUILD_WEBGPU_DAWN_PREFIX="$GITHUB_WORKSPACE/dawn" \ |
| 127 | + # GG_BUILD_WEBGPU_DAWN_DIR="$GITHUB_WORKSPACE/dawn/lib64/cmake/Dawn" \ |
| 128 | + # bash ./ci/run.sh ~/results/llama.cpp /mnt/llama.cpp |
| 129 | + |
100 | 130 | # TODO: provision AMX-compatible machine |
101 | 131 | #ggml-ci-cpu-amx: |
102 | 132 | # runs-on: [self-hosted, Linux, CPU, AMX] |
@@ -141,61 +171,59 @@ jobs: |
141 | 171 | # amd-smi static |
142 | 172 | # GG_BUILD_ROCM=1 GG_BUILD_AMDGPU_TARGETS="gfx1101" bash ./ci/run.sh ~/results/llama.cpp /mnt/llama.cpp |
143 | 173 |
|
144 | | - # TODO: sandbox Mac runners |
145 | | - # ggml-ci-mac-metal: |
146 | | - # runs-on: [self-hosted, macOS, ARM64] |
147 | | - # |
148 | | - # steps: |
149 | | - # - name: Clone |
150 | | - # id: checkout |
151 | | - # uses: actions/checkout@v6 |
152 | | - # |
153 | | - # - name: Test |
154 | | - # id: ggml-ci |
155 | | - # run: | |
156 | | - # GG_BUILD_METAL=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp |
157 | | - # |
158 | | - # ggml-ci-mac-webgpu: |
159 | | - # runs-on: [self-hosted, macOS, ARM64] |
160 | | - # |
161 | | - # steps: |
162 | | - # - name: Clone |
163 | | - # id: checkout |
164 | | - # uses: actions/checkout@v6 |
165 | | - # |
166 | | - # - name: Dawn Dependency |
167 | | - # id: dawn-depends |
168 | | - # run: | |
169 | | - # DAWN_VERSION="v2.0.0" |
170 | | - # DAWN_OWNER="reeselevine" |
171 | | - # DAWN_REPO="dawn" |
172 | | - # DAWN_ASSET_NAME="Dawn-5e9a4865b1635796ccc77dd30057f2b4002a1355-macos-latest-Release" |
173 | | - # echo "Fetching release asset from https://github.com/${DAWN_OWNER}/${DAWN_REPO}/releases/download/${DAWN_VERSION}/${DAWN_ASSET_NAME}.zip" |
174 | | - # curl -L -o artifact.zip \ |
175 | | - # "https://github.com/${DAWN_OWNER}/${DAWN_REPO}/releases/download/${DAWN_VERSION}/${DAWN_ASSET_NAME}.zip" |
176 | | - # mkdir dawn |
177 | | - # unzip artifact.zip |
178 | | - # tar -xvf ${DAWN_ASSET_NAME}.tar.gz -C dawn --strip-components=1 |
179 | | - # |
180 | | - # - name: Test |
181 | | - # id: ggml-ci |
182 | | - # run: | |
183 | | - # GG_BUILD_WEBGPU=1 GG_BUILD_WEBGPU_DAWN_PREFIX="$GITHUB_WORKSPACE/dawn" \ |
184 | | - # bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp |
185 | | - # |
186 | | - # ggml-ci-mac-vulkan: |
187 | | - # runs-on: [self-hosted, macOS, ARM64] |
188 | | - # |
189 | | - # steps: |
190 | | - # - name: Clone |
191 | | - # id: checkout |
192 | | - # uses: actions/checkout@v6 |
193 | | - # |
194 | | - # - name: Test |
195 | | - # id: ggml-ci |
196 | | - # run: | |
197 | | - # vulkaninfo --summary |
198 | | - # GG_BUILD_VULKAN=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp |
| 174 | + ggml-ci-mac-metal: |
| 175 | + runs-on: [self-hosted, macOS, ARM64] |
| 176 | + |
| 177 | + steps: |
| 178 | + - name: Clone |
| 179 | + id: checkout |
| 180 | + uses: actions/checkout@v6 |
| 181 | + |
| 182 | + - name: Test |
| 183 | + id: ggml-ci |
| 184 | + run: | |
| 185 | + GG_BUILD_METAL=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp |
| 186 | +
|
| 187 | + ggml-ci-mac-webgpu: |
| 188 | + runs-on: [self-hosted, macOS, ARM64] |
| 189 | + |
| 190 | + steps: |
| 191 | + - name: Clone |
| 192 | + id: checkout |
| 193 | + uses: actions/checkout@v6 |
| 194 | + |
| 195 | + - name: Dawn Dependency |
| 196 | + id: dawn-depends |
| 197 | + run: | |
| 198 | + DAWN_VERSION="v20260317.182325" |
| 199 | + DAWN_OWNER="google" |
| 200 | + DAWN_REPO="dawn" |
| 201 | + DAWN_ASSET_NAME="Dawn-18eb229ef5f707c1464cc581252e7603c73a3ef0-macos-latest-Release" |
| 202 | + echo "Fetching release asset from https://github.com/google/dawn/releases/download/${DAWN_VERSION}/${DAWN_ASSET_NAME}.tar.gz" |
| 203 | + curl -L -o artifact.tar.gz \ |
| 204 | + "https://github.com/google/dawn/releases/download/${DAWN_VERSION}/${DAWN_ASSET_NAME}.tar.gz" |
| 205 | + mkdir dawn |
| 206 | + tar -xvf artifact.tar.gz -C dawn --strip-components=1 |
| 207 | +
|
| 208 | + - name: Test |
| 209 | + id: ggml-ci |
| 210 | + run: | |
| 211 | + GG_BUILD_WEBGPU=1 GG_BUILD_WEBGPU_DAWN_PREFIX="$GITHUB_WORKSPACE/dawn" \ |
| 212 | + bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp |
| 213 | +
|
| 214 | + ggml-ci-mac-vulkan: |
| 215 | + runs-on: [self-hosted, macOS, ARM64] |
| 216 | + |
| 217 | + steps: |
| 218 | + - name: Clone |
| 219 | + id: checkout |
| 220 | + uses: actions/checkout@v6 |
| 221 | + |
| 222 | + - name: Test |
| 223 | + id: ggml-ci |
| 224 | + run: | |
| 225 | + vulkaninfo --summary |
| 226 | + GG_BUILD_VULKAN=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp |
199 | 227 |
|
200 | 228 | ggml-ci-linux-intel-vulkan: |
201 | 229 | runs-on: [self-hosted, Linux, Intel] |
|
0 commit comments