Skip to content

Commit 561a3e2

Browse files
authored
ci : change the openEuler-310p image to fix release (ggml-org#17361)
1 parent f40a2e5 commit 561a3e2

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1390,14 +1390,10 @@ jobs:
13901390
strategy:
13911391
matrix:
13921392
arch: [x86, aarch64]
1393-
cann:
1394-
- '8.3.rc1.alpha001-910b-openeuler22.03-py3.11'
1395-
chip_type:
1396-
- '910b'
1397-
build:
1398-
- 'Release'
1393+
chip_type: ['910b', '310p']
1394+
build: ['Release']
13991395
runs-on: ${{ matrix.arch == 'aarch64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
1400-
container: ascendai/cann:${{ matrix.cann }}
1396+
container: ascendai/cann:${{ matrix.chip_type == '910b' && '8.3.rc1.alpha001-910b-openeuler22.03-py3.11' || '8.2.rc1-310p-openeuler22.03-py3.11' }}
14011397
steps:
14021398
- name: Checkout
14031399
uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -698,10 +698,9 @@ jobs:
698698
matrix:
699699
arch: [x86, aarch64]
700700
chip_type: ['910b', '310p']
701-
build:
702-
- 'Release'
701+
build: ['Release']
703702
runs-on: ${{ matrix.arch == 'aarch64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
704-
container: ascendai/cann:${{ matrix.chip_type == '910b' && '8.3.rc1.alpha001-910b-openeuler22.03-py3.11' || '8.3.rc1.alpha001-310p-openeuler22.03-py3.11' }}
703+
container: ascendai/cann:${{ matrix.chip_type == '910b' && '8.3.rc1.alpha001-910b-openeuler22.03-py3.11' || '8.2.rc1-310p-openeuler22.03-py3.11' }}
705704
steps:
706705
- name: Checkout
707706
uses: actions/checkout@v4
@@ -737,7 +736,7 @@ jobs:
737736
uses: actions/upload-artifact@v4
738737
with:
739738
path: llama-${{ steps.tag.outputs.name }}-bin-${{ matrix.chip_type }}-openEuler-${{ matrix.arch }}.zip
740-
name: llama-${{ steps.tag.outputs.name }}-bin-${{ matrix.chip_type }}-openEuler-${{ matrix.arch }}
739+
name: llama-bin-${{ matrix.chip_type }}-openEuler-${{ matrix.arch }}.zip
741740

742741
release:
743742
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}

0 commit comments

Comments
 (0)