Skip to content

DRAFT: Beta Support for XDNA2 Platform#179

Draft
Victor-Jung wants to merge 16 commits intopulp-platform:develfrom
Victor-Jung:pr/xdna-support
Draft

DRAFT: Beta Support for XDNA2 Platform#179
Victor-Jung wants to merge 16 commits intopulp-platform:develfrom
Victor-Jung:pr/xdna-support

Conversation

@Victor-Jung
Copy link
Member

@Victor-Jung Victor-Jung commented Mar 24, 2026

This PR adds beta support for the XDNA2 platform. This is also the first attempt at adding a new MLIR backend for Deeploy.

Currently, it passes a single Add node ONNX graph; on this platform, there is no such "untitled" execution possible, as the AIE cores can't read outside their local L1. Hence, the XDNA platform is inherently tiled.

Currently, the CI uses self-hosted runners to run directly on the XDNA2 NPU from a Minisforum X1 Pro.

Added

  • A Dockerfile specifically for the XDNA platform. It only requires the 'mlir-aie' and 'llvm-aie' packages installable with pip. You have to run this container with specific arguments to forward the NPU device and driver libraries; the procedure is described in README_XDNA.md.
  • A new target library for XDNA2. It uses the LLVM compile for AIE (named peano) to compile the add kernel.

Changed

Fixed

PR Merge Checklist

  1. The PR is rebased on the latest devel commit and pointing to devel.
  2. Your PR reviewed and approved.
  3. All checks are passing.
  4. The CHANGELOG.md file has been updated.
  5. If the docker was modified, change back its link after review.

@Victor-Jung Victor-Jung added this to the Release 0.2.2 milestone Mar 24, 2026
@Victor-Jung Victor-Jung self-assigned this Mar 24, 2026
@Victor-Jung Victor-Jung added the Feature Addition of new features label Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Addition of new features

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant