Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions .github/workflows/build-examples-aicpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
matrix:
include:
- arch: x86_64
python_version: 3.11
python_version: 3.12
npu_device: 910b
- arch: x86_64
python_version: 3.11
python_version: 3.12
npu_device: 950

container:
image: quay.io/ascend/cann:9.0.0-${{ matrix.npu_device }}-ubuntu22.04-py${{ matrix.python_version }}
image: quay.io/ascend/cann:9.1.0-beta.1-${{ matrix.npu_device }}-ubuntu22.04-py${{ matrix.python_version }}
steps:
- name: Show OS
run: cat /etc/os-release
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ jobs:
matrix:
include:
- arch: x86_64
python_version: 3.11
python_version: 3.12
npu_device: 910b
- arch: x86_64
python_version: 3.11
python_version: 3.12
npu_device: 950

container:
image: quay.io/ascend/cann:9.0.0-${{ matrix.npu_device }}-ubuntu22.04-py${{ matrix.python_version }}
image: quay.io/ascend/cann:9.1.0-beta.1-${{ matrix.npu_device }}-ubuntu22.04-py${{ matrix.python_version }}
steps:
- name: Show OS
run: cat /etc/os-release
Expand Down Expand Up @@ -101,13 +101,13 @@ jobs:
matrix:
include:
- arch: x86_64
python_version: 3.11
python_version: 3.12
npu_device: 910b
- arch: x86_64
python_version: 3.11
python_version: 3.12
npu_device: 950
container:
image: quay.io/ascend/cann:9.0.0-${{ matrix.npu_device }}-ubuntu22.04-py${{ matrix.python_version }}
image: quay.io/ascend/cann:9.1.0-beta.1-${{ matrix.npu_device }}-ubuntu22.04-py${{ matrix.python_version }}
steps:
- name: Show OS
run: cat /etc/os-release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
py_ver: "310"
- os: ubuntu-22.04-arm
arch: aarch64
python_version: py3.11
python_version: py3.12
py_ver: "311"
- os: ubuntu-22.04-arm
arch: aarch64
Expand Down
14 changes: 7 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ default:
stages:
- build_in_docker
- test
- test_aarch64_910B2_py3.11
- test_aarch64_910B2_py3.12


# Define the workflow rules manually to make sure only a single pipeline
Expand All @@ -22,7 +22,7 @@ workflow:


.build_config: &build_config
image: quay.io/ascend/cann:9.0.0-${NPU}-ubuntu22.04-py3.11
image: quay.io/ascend/cann:9.1.0-beta.1-${NPU}-ubuntu22.04-py3.12
parallel:
matrix:
- {NPU: 910b}
Expand All @@ -41,7 +41,7 @@ build_docker:
- make wheel

build_and_test_x86_910B4:
image: quay.io/ascend/cann:9.0.0-910b-ubuntu22.04-py3.11
image: quay.io/ascend/cann:9.1.0-beta.1-910b-ubuntu22.04-py3.12
tags:
- docker_npu # Build and test on-device NPU (x86-64 / 910B4)
before_script:
Expand All @@ -54,9 +54,9 @@ build_and_test_x86_910B4:
- pip install pto_kernels*.whl
- python3 -m pytest -v tests/

build_and_test_aarch64_910B2_py3.11:
image: quay.io/ascend/cann:9.0.0-910b-ubuntu22.04-py3.11
stage: test_aarch64_910B2_py3.11
build_and_test_aarch64_910B2_py3.12:
image: quay.io/ascend/cann:9.1.0-beta.1-910b-ubuntu22.04-py3.12
stage: test_aarch64_910B2_py3.12
tags:
- docker_npu_910B2 # Build and test on-device (aarch64 / 910B2)
before_script:
Expand Down Expand Up @@ -109,7 +109,7 @@ test_pypi_aarch64_910B2_py3.11:
# On-device test of examples/jit_cpp #
######################################
test_examples_on_x86_910B4:
image: quay.io/ascend/cann:9.0.0-910b-ubuntu22.04-py3.11
image: quay.io/ascend/cann:9.1.0-beta.1-910b-ubuntu22.04-py3.12
tags:
- docker_npu # Build and test on-device NPU (x86-64 / 910B4)
parallel:
Expand Down
Loading