ci: use Ascend 910C post4 CI image - #988
Merged
Merged
Conversation
baominghelly
marked this pull request as ready for review
September 16, 2026 08:46
voltjia
approved these changes
Sep 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
infiniops-ci/ascend:cann9.1.0-torch2.10.0-npu-post4-20260909throughskip_buildandsource_imageinstead of rebuilding the legacy Ascend image.Ascendrunner label,-j$(nproc)build parallelism, and current InfiniOps SoC auto-detection behavior.ci_refto901566229509ac54f520210c6856bf163209f907, which includes Ascend dual-chip physical-ID parsing on top of the existing CI execution line.Motivation
The current Ascend CI image does not provide the validated
torch_npu 2.10.0.post4environment required by the current Ascend PyTorch backend. Reusing the prepared post4 image makes the build environment deterministic and avoids rebuilding a large image on every CI run.The two CI references are updated together so the reusable workflow and the checked-out
.citooling come from the same revision.Type of Change
feat— new feature / new operator / new platformfix— bug fixperf— performance improvement (no behavioral change)refactor— code restructuring without behavior changetest— adding or fixing tests onlydocs— documentation onlybuild/ci— build system or CI configurationchore— tooling, formatting, or other non-code changes!in the Conventional Commits prefix or aBREAKING CHANGE:footer)Platforms Affected
WITH_CPU)WITH_NVIDIA)WITH_ILUVATAR)WITH_METAX)WITH_CAMBRICON)WITH_MOORE)WITH_ASCEND)WITH_TORCH)The platform checkboxes acknowledge that changing the reusable workflow revision can affect orchestration for every configured platform. The image-selection change itself is Ascend-specific.
Smoke Test Result
Validated the final configuration locally and in GitHub Actions on Ascend 910C:
Trimmed result:
The GitHub Actions Ascend job on runner
Ascend-910C-Server-000also completed successfully with the same result. Generated Docker arguments were checked for:Test Results on Supported Platforms
136 passed, 43 skipped; JUnit reported zero failures and errorsAdditional required checks at the current head:
Full `pytest` output (optional)
Benchmark / Performance Impact
N/A
Notes for Reviewers
Ascendrunner, that runner must either have the image loaded or the image must be published to an internal registry.runner_labelintentionally remainsAscend; temporary runner availability may need to be managed during rollout so jobs do not land on runners without the post4 image.-j$(nproc)and SoC auto-detection are intentionally unchanged.901566229509ac54f520210c6856bf163209f907is the current stacked CI revision used for validation. Once the underlying CI branch reachesInfiniTensor/ci master, these references can be updated to the final master SHA in a follow-up CI-only change.git diff --checkpassed for the final configuration.