Skip to content

Commit 498888b

Browse files
committed
ci : move AMD jobs to separate workflow [no ci]
1 parent 7a46ce4 commit 498888b

File tree

2 files changed

+57
-28
lines changed

2 files changed

+57
-28
lines changed

.github/workflows/build-amd.yml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: CI (AMD)
2+
3+
on:
4+
workflow_dispatch: # allows manual triggering
5+
push:
6+
branches:
7+
- master
8+
paths: [
9+
'.github/workflows/build.yml',
10+
'.github/workflows/build-linux-cross.yml',
11+
'.github/workflows/build-cmake-pkg.yml',
12+
'**/CMakeLists.txt',
13+
'**/.cmake',
14+
'**/*.h',
15+
'**/*.hpp',
16+
'**/*.c',
17+
'**/*.cpp',
18+
'**/*.cu',
19+
'**/*.cuh',
20+
'**/*.swift',
21+
'**/*.m',
22+
'**/*.metal',
23+
'**/*.comp'
24+
]
25+
26+
concurrency:
27+
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
28+
cancel-in-progress: true
29+
30+
jobs:
31+
ggml-ci-x64-amd-vulkan:
32+
runs-on: [self-hosted, Linux, X64, AMD]
33+
34+
steps:
35+
- name: Clone
36+
id: checkout
37+
uses: actions/checkout@v4
38+
39+
- name: Test
40+
id: ggml-ci
41+
run: |
42+
vulkaninfo --summary
43+
GG_BUILD_VULKAN=1 bash ./ci/run.sh ~/results/llama.cpp /mnt/llama.cpp
44+
45+
ggml-ci-x64-amd-rocm:
46+
runs-on: [self-hosted, Linux, X64, AMD]
47+
48+
steps:
49+
- name: Clone
50+
id: checkout
51+
uses: actions/checkout@v4
52+
53+
- name: Test
54+
id: ggml-ci
55+
run: |
56+
amd-smi static
57+
GG_BUILD_ROCM=1 GG_BUILD_AMDGPU_TARGETS="gfx1101" bash ./ci/run.sh ~/results/llama.cpp /mnt/llama.cpp

.github/workflows/build.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1430,34 +1430,6 @@ jobs:
14301430
run: |
14311431
bash ./ci/run.sh ~/results/llama.cpp /mnt/llama.cpp
14321432
1433-
ggml-ci-x64-amd-vulkan:
1434-
runs-on: [self-hosted, Linux, X64, AMD]
1435-
1436-
steps:
1437-
- name: Clone
1438-
id: checkout
1439-
uses: actions/checkout@v4
1440-
1441-
- name: Test
1442-
id: ggml-ci
1443-
run: |
1444-
vulkaninfo --summary
1445-
GG_BUILD_VULKAN=1 bash ./ci/run.sh ~/results/llama.cpp /mnt/llama.cpp
1446-
1447-
ggml-ci-x64-amd-rocm:
1448-
runs-on: [self-hosted, Linux, X64, AMD]
1449-
1450-
steps:
1451-
- name: Clone
1452-
id: checkout
1453-
uses: actions/checkout@v4
1454-
1455-
- name: Test
1456-
id: ggml-ci
1457-
run: |
1458-
amd-smi static
1459-
GG_BUILD_ROCM=1 GG_BUILD_AMDGPU_TARGETS="gfx1101" bash ./ci/run.sh ~/results/llama.cpp /mnt/llama.cpp
1460-
14611433
ggml-ci-mac-metal:
14621434
runs-on: [self-hosted, macOS, ARM64]
14631435

0 commit comments

Comments
 (0)