From 3d7f2674856110e253657a426ab824bc782a052f Mon Sep 17 00:00:00 2001 From: anastasios Date: Sat, 27 Jun 2026 17:05:38 +0000 Subject: [PATCH 1/3] fix --- .github/workflows/build-examples-aicpu.yml | 6 +++--- .github/workflows/build.yml | 12 ++++++------ .gitlab-ci.yml | 14 +++++++------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-examples-aicpu.yml b/.github/workflows/build-examples-aicpu.yml index f39bd339..21f2363a 100644 --- a/.github/workflows/build-examples-aicpu.yml +++ b/.github/workflows/build-examples-aicpu.yml @@ -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 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d792e138..e20e0af8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6837523c..6013e86f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 @@ -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} @@ -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: @@ -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: @@ -75,7 +75,7 @@ build_and_test_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: From c50df06b19bc3dae8d08aa662007a003ba7eae4c Mon Sep 17 00:00:00 2001 From: anastasios Date: Sat, 27 Jun 2026 17:49:16 +0000 Subject: [PATCH 2/3] fix --- .github/workflows/python-packaging.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-packaging.yml b/.github/workflows/python-packaging.yml index fad0add5..648716ed 100644 --- a/.github/workflows/python-packaging.yml +++ b/.github/workflows/python-packaging.yml @@ -27,13 +27,13 @@ jobs: py_ver: "310" - os: ubuntu-22.04-arm arch: aarch64 - python_version: py3.11 + python_version: py3.12 py_ver: "311" runs-on: ${{ matrix.os }} container: - image: quay.io/ascend/manylinux:8.5.1-910b-manylinux_2_28-${{ matrix.python_version }} + image: quay.io/ascend/manylinux:9.0.0-910b-manylinux_2_28-${{ matrix.python_version }} steps: - name: Checkout @@ -79,6 +79,18 @@ jobs: --exclude libhccl.so \ --exclude libprofapi.so \ --exclude libtorch_npu.so \ + --exclude libascend_trace.so \ + --exclude libascend_watchdog.so \ + --exclude libascendalog.so \ + --exclude libascendcl.so \ + --exclude libc_sec.so \ + --exclude liberror_manager.so \ + --exclude libmmpa.so \ + --exclude libmsprofiler.so \ + --exclude libplatform.so \ + --exclude libruntime.so \ + --exclude libruntime_common.so \ + --exclude libunified_dlog.so \ pto_kernels*.whl \ -w wheelhouse/ From f9363acfb23aae5662912306c1e11da0119b5e7c Mon Sep 17 00:00:00 2001 From: Anastasios Zouzias Date: Sun, 28 Jun 2026 15:18:23 +0300 Subject: [PATCH 3/3] Simplify exclusion of ascend shared libraries --- .github/workflows/python-packaging.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/python-packaging.yml b/.github/workflows/python-packaging.yml index 648716ed..8bf0a898 100644 --- a/.github/workflows/python-packaging.yml +++ b/.github/workflows/python-packaging.yml @@ -79,10 +79,7 @@ jobs: --exclude libhccl.so \ --exclude libprofapi.so \ --exclude libtorch_npu.so \ - --exclude libascend_trace.so \ - --exclude libascend_watchdog.so \ - --exclude libascendalog.so \ - --exclude libascendcl.so \ + --exclude libascend*.so \ --exclude libc_sec.so \ --exclude liberror_manager.so \ --exclude libmmpa.so \