Skip to content

Ubuntu 26.04 LTS support #12

Description

@willyw0nk4

LIRA currently requires Ubuntu 24.04 LTS with AMD's XRT packages. Ubuntu 26.04 LTS ships with native libxrt-npu2 (2.21.75) in the system repos and kernel 7.0 with built-in amdxdna driver. The kernel-level NPU support is already there, but the VitisAI userspace stack (onnxruntime-vitisai 1.23.3 from RyzenAI 1.7.1) is compiled against AMD's custom XRT and expects /opt/xilinx/xrt/, while Ubuntu 26.04 puts XRT in /usr/lib/x86_64-linux-gnu/.

What works:

NPU detection via xrt-smi examine (memlock limit needs adjustment)
Encoder model compilation for AIE cores (Compilation Complete, ERROR:0)
CPU inference
What fails:

Runtime inference on NPU: custom_op.cpp:1195] unsupported data type 1 — VitisAI provider can't pass data through the system XRT
Suggested fix:

Provide VitisAI runtime wheels compatible with the XRT version shipped in Ubuntu 26.04, or
Document steps to build/install the AMD XRT alongside the system one
System:

Ubuntu 26.04 LTS (Resolute Raccoon)
Kernel 7.0.0-15-generic
AMD Ryzen AI 7 350 (Strix Point/Krackan Point)
Ryzen AI Software 1.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions