Skip to content

feat: add Ali PPU runtime backend#34

Closed
spike-zhu wants to merge 1 commit into
masterfrom
feat/ppu-runtime-backend-support
Closed

feat: add Ali PPU runtime backend#34
spike-zhu wants to merge 1 commit into
masterfrom
feat/ppu-runtime-backend-support

Conversation

@spike-zhu

@spike-zhu spike-zhu commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add the Ali PPU backend option through WITH_ALI.
  • Add infini::rt::Device::Type::kAli and runtime dispatch support.
  • Add the Ali PPU runtime implementation under src/native/cuda/ali/.

Motivation

InfiniCore previously used an in-tree runtime for Ali PPU. This change adds the required Ali PPU runtime infrastructure to InfiniRT, aligned with existing CUDA-like backends.

Type of Change

  • feat - new feature / new backend capability / new public API
  • fix - bug fix
  • perf - performance improvement without behavior change
  • refactor - code restructuring without behavior change
  • test - adding or fixing tests only
  • docs - documentation only
  • build / ci - build system or CI configuration
  • chore - tooling, formatting, or other non-code changes
  • Breaking change (requires a ! in the Conventional Commits prefix or a BREAKING CHANGE: footer)

Platforms Affected

  • CPU (WITH_CPU)
  • NVIDIA (WITH_NVIDIA)
  • Iluvatar (WITH_ILUVATAR)
  • Hygon (WITH_HYGON)
  • MetaX (WITH_METAX)
  • Moore (WITH_MOORE)
  • Cambricon (WITH_CAMBRICON)
  • Ascend (WITH_ASCEND)
  • PPU(WITH_ALI
  • Build system / CMake / generated headers
  • Public headers / installed consumer API
  • Documentation only

Smoke Build and Test Result

paste smoke build and test output here
image

Test Results on Supported Platforms

Platform Affected Build / Smoke Result Full Result / Notes
CPU
NVIDIA
Iluvatar
Hygon
MetaX
Moore
Cambricon
Ascend
Full `ctest` output (optional)
paste here

Benchmark / Performance Impact

Notes for Reviewers

InfiniCore now uses the standalone InfiniRT implementation instead of its in-tree Ali PPU runtime, with InfiniLM test:

image

@spike-zhu
spike-zhu requested a review from voltjia July 23, 2026 02:40
@spike-zhu spike-zhu self-assigned this Jul 23, 2026
@wooway777
wooway777 force-pushed the feat/ppu-runtime-backend-support branch 4 times, most recently from e5fa932 to d429e89 Compare July 23, 2026 10:18
@spike-zhu
spike-zhu marked this pull request as draft July 24, 2026 02:24
@spike-zhu

spike-zhu commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

commit 的 author 不准确,已重新提 PR,见 #35

@spike-zhu spike-zhu closed this Jul 24, 2026
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