NPUEval icon indicating copy to clipboard operation
NPUEval copied to clipboard

Is it possible to run with Ubuntu 22.04?

Open tonyjie opened this issue 1 year ago • 2 comments

Hi,

I got a server with Ubuntu 22.04 with Ryzen NPU installed, and I already got the required environment to run mlir-aie (https://github.com/Xilinx/mlir-aie). I'm wondering if there are any instructions to run NPUEval with my environment? Currently the script only supports Ubuntu 24 with docker, but it seems that as long as I can run mlir-aie, I should be able to run the NPUEval flow.

Thanks!

tonyjie avatar Sep 01 '25 19:09 tonyjie

Hi @tonyjie,

It should certainly be possible, we primarily work from docker because it makes it easier to reproduce and lock down all the compiler/driver/runtime versions. I don't have a script to help you on-hand. But you should be able to just pip install . from the repo and try running in your env.

I would just recommend to be mindful of the versions, in NPUEval we're locked down to these specific MLIR-AIE wheels: https://github.com/AMDResearch/NPUEval/blob/main/docker/Dockerfile.npueval#L27-L29

And this particular XDNA driver version: https://github.com/AMDResearch/NPUEval/blob/main/docker/build_xdna.sh#L13

Haven't tested outside of these commits. That said if you have mlir-aie working, then the NPUEval package is just a regular Python package that calls those utilities.

skalade avatar Sep 02 '25 20:09 skalade

Thanks! I will have a try later

tonyjie avatar Sep 03 '25 15:09 tonyjie