Skip to content

feat: support ascend and nvidia accelerators with runc - #45

Closed
mhsong1998-dot wants to merge 1 commit into
inclusionAI:mainfrom
mhsong1998-dot:feat/ascend-npu-runc
Closed

mhsong1998-dot wants to merge 1 commit into
inclusionAI:mainfrom
mhsong1998-dot:feat/ascend-npu-runc

Conversation

@mhsong1998-dot

@mhsong1998-dot mhsong1998-dot commented Aug 29, 2026 •

Copy link
Copy Markdown

Superseded by AKernel #174. AKernel Ascend NPU support will be maintained on the ADX develop branch.

Add opt-in physical Ascend NPU support to the YuanRong-backed AKernel on Linux/amd64 with native runc. The node image verifies the released Ascend adapter's checksum and ELF architecture. Helm and Terraform select labeled workers and mount host drivers read-only. The SDK accepts normalized NPU requests and retains NVIDIA runsc and runc support. The node build pins all four NVIDIA Toolkit and libnvidia packages together so apt cannot select an incompatible toolkit-base.

Based on YuanRong main 9dc4970. The upstream submodule URL pins sandboxd #39 at 248043e.

Validation:

  • 288 SDK unit tests, 61 build-helper tests, 77 standalone tests, SDK lint/type checks, and deployment syntax checks passed. The SDK tests used a non-symlink temp directory on macOS.
  • Helm lint and positive/negative renders passed, including Terraform-generated values for both Aliyun and Huawei Cloud.
  • Built the real Linux/amd64 Ascend adapter stage and ran its version command. The image contains the verified adapter, trusted profile and license files.
  • The previous CI run stopped during package resolution before standalone. This head pins the missing nvidia-container-toolkit-base dependency to the same release as the other NVIDIA packages.
  • On 36ca096, two SDK-created runc sandboxes on a physical Ascend 310P3 both returned ACL_ADD_OK: [11, 22, 33, 44], with successful device reuse. The test used a directory-backed rootfs on HCE 5.10.

CI for 36ca096 passed the full build and default runsc Standalone E2E, including checkpoint reload.

@mhsong1998-dot
mhsong1998-dot force-pushed the feat/ascend-npu-runc branch 3 times, most recently from 5d324b9 to 49108b7 Compare September 2, 2026 02:37
@mhsong1998-dot mhsong1998-dot changed the title feat: add ascend npu support for runc sandboxes feat: support ascend and nvidia accelerators with runc Sep 2, 2026
@mhsong1998-dot
mhsong1998-dot force-pushed the feat/ascend-npu-runc branch 2 times, most recently from 73742d2 to fe7ea77 Compare September 3, 2026 02:24
@mhsong1998-dot
mhsong1998-dot marked this pull request as ready for review September 4, 2026 03:53
@mhsong1998-dot
mhsong1998-dot force-pushed the feat/ascend-npu-runc branch 3 times, most recently from 9b5415f to 0df9995 Compare September 9, 2026 09:31
Install the verified Ascend adapter and matching profile, expose opt-in deployment settings, and accept physical NPU requests through the YuanRong-backed SDK. Preserve existing runsc GPU, runtime profiles, standalone preflights and CPU-only defaults.

Signed-off-by: mhsong2 <songminhui2@huawei.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant