Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
3091553
release cann8.1.RC1.alpha001 image
wxsIcey Mar 21, 2025
5466e94
fix
wxsIcey Mar 21, 2025
25a70e4
fix
wxsIcey Mar 21, 2025
a6b6ef8
fix
wxsIcey Mar 21, 2025
adbf4d1
fix
wxsIcey Mar 21, 2025
af4268f
self runner
shink Mar 21, 2025
1d62de6
tmp
shink Mar 21, 2025
3fdffa5
tmp
shink Mar 21, 2025
e0888e3
tmp
shink Mar 21, 2025
3f94daa
tmp
shink Mar 21, 2025
96bdfea
tmp
shink Mar 21, 2025
9ec340c
tmp
shink Mar 21, 2025
b9e62de
tmp
shink Mar 21, 2025
4f676d8
fix
wxsIcey Mar 25, 2025
acac526
fix
wxsIcey Mar 25, 2025
ed01b4e
hk
shink Mar 28, 2025
595f5c3
hk
shink Mar 28, 2025
744a2ec
hk
shink Mar 28, 2025
136a71a
fix
wxsIcey Mar 28, 2025
b2b6382
no ci
shink Mar 28, 2025
e600dca
skip ci
shink Mar 28, 2025
78cfb43
skip ci
shink Mar 28, 2025
45bb614
skip ci
shink Mar 28, 2025
b106dfa
skip ci
shink Mar 28, 2025
bf5f325
skip ci
shink Mar 28, 2025
c6f395b
skip ci
shink Mar 28, 2025
53e4aa8
Change env variables
wxsIcey Mar 28, 2025
4a8084b
skip ci
shink Mar 28, 2025
8432217
skip ci
shink Mar 28, 2025
26abaf9
skip ci
shink Mar 28, 2025
3ce5803
add 310p
wxsIcey Mar 28, 2025
70ea555
skip ci
shink Mar 28, 2025
cda069c
skip ci
shink Mar 28, 2025
cbd0568
rm 310p
shink Mar 28, 2025
a7001db
skip ci
shink Mar 28, 2025
c25b4c7
skip ci
shink Mar 28, 2025
d92a6d2
push image to swr
wxsIcey Mar 29, 2025
c5407f6
test AZURE
wxsIcey Mar 29, 2025
d55d165
change runner
wxsIcey Mar 29, 2025
e0ed129
fix
wxsIcey Mar 29, 2025
6a511ea
fix
wxsIcey Mar 29, 2025
79f5a19
fix
wxsIcey Mar 29, 2025
92b12e6
fix
wxsIcey Mar 29, 2025
1c38c72
fix
wxsIcey Mar 29, 2025
31a0161
fix
wxsIcey Mar 29, 2025
c0b8e5e
fix
wxsIcey Mar 29, 2025
41c1926
fix
wxsIcey Mar 29, 2025
e66e5ca
fix
wxsIcey Apr 2, 2025
ee88afe
fix
wxsIcey Apr 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/actions/init-env/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: "Init environment"
description: "Initialize working environment"
runs:
using: "composite"
steps:
- name: Prepare CANN installers
shell: bash
run: |
set -x
cp -nv /data/cann/*.run ./cann/
ls -alh ./cann/
6 changes: 3 additions & 3 deletions .github/workflows/_docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ on:
ascendhub-registry:
description: "Server address of AscendHub registry"
required: false
type: string
type: string
default: "swr.cn-east-3.myhuaweicloud.com"
secrets:
DOCKERHUB_OWNER:
Expand Down Expand Up @@ -80,7 +80,7 @@ permissions:
jobs:
prepare:
name: prepare
runs-on: ubuntu-latest
runs-on: linux-x64-azure
outputs:
targets: ${{ steps.list-target.outputs.targets }}
steps:
Expand All @@ -98,7 +98,7 @@ jobs:

docker:
name: build ${{ matrix.target }}
runs-on: ubuntu-24.04-arm # TODO: Use ubuntu-latest
runs-on: linux-x64-azure
needs:
- prepare
strategy:
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ permissions:
jobs:
prepare:
name: prepare
runs-on: ubuntu-latest
runs-on: linux-x64-azure
outputs:
pr-labels: ${{ steps.list-labels.outputs.labels }}
targets: ${{ steps.list-targets.outputs.targets }}
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
!cancelled() &&
contains(needs.prepare.outputs.targets, 'python') &&
(
(github.event_name != 'pull_request' && success()) ||
(github.event_name != 'pull_request') ||
(github.event_name == 'pull_request' && contains(needs.prepare.outputs.pr-labels, 'python'))
)
uses: ./.github/workflows/_docker-build.yml
Expand All @@ -108,14 +108,16 @@ jobs:
if: |
!cancelled() &&
contains(needs.prepare.outputs.targets, 'cann') &&
(needs.python.result == 'success' || needs.python.result == 'skipped') &&
(
(github.event_name != 'pull_request' && success()) ||
(github.event_name != 'pull_request') ||
(github.event_name == 'pull_request' && contains(needs.prepare.outputs.pr-labels, 'cann'))
)
uses: ./.github/workflows/_docker-build.yml
with:
target: 'cann'
push: ${{ github.event_name == 'release' }}
clean-up: false
secrets: inherit

pytorch:
Expand All @@ -126,14 +128,16 @@ jobs:
if: |
!cancelled() &&
contains(needs.prepare.outputs.targets, 'pytorch') &&
(needs.cann.result == 'success' || needs.cann.result == 'skipped') &&
(
(github.event_name != 'pull_request' && success()) ||
(github.event_name != 'pull_request') ||
(github.event_name == 'pull_request' && contains(needs.prepare.outputs.pr-labels, 'pytorch'))
)
uses: ./.github/workflows/_docker-build.yml
with:
target: 'pytorch'
push: ${{ github.event_name == 'release' }}
clean-up: false
secrets: inherit

mindspore:
Expand All @@ -144,12 +148,14 @@ jobs:
if: |
!cancelled() &&
contains(needs.prepare.outputs.targets, 'mindspore') &&
(needs.cann.result == 'success' || needs.cann.result == 'skipped') &&
(
(github.event_name != 'pull_request' && success()) ||
(github.event_name != 'pull_request') ||
(github.event_name == 'pull_request' && contains(needs.prepare.outputs.pr-labels, 'mindspore'))
)
uses: ./.github/workflows/_docker-build.yml
with:
target: 'mindspore'
push: ${{ github.event_name == 'release' }}
clean-up: false
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: pull_request_target
jobs:
label:
name: Label
runs-on: ubuntu-latest
runs-on: linux-x64-azure
permissions:
contents: read
pull-requests: write
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea
.secrets
**/*.run
Loading