microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.34k stars 2.87k forks source link

Failed to build onnxruntime-vitisai docker container due to missing NO_PUBKEY #11017

Open JamesCaska opened 2 years ago

JamesCaska commented 2 years ago

Describe the bug I followed these instructions to build the doc

Urgency Somewhat as I would like to have a functional demo for the hackster competion

System information

To Reproduce

Change 1: The docker build is appears broken because of a missing key?

sudo docker build -t onnxruntime-vitisai -f Dockerfile.vitis_ai_onnxrt .

image

Note: I can get it to build if I edit the Dockerfile.vitis_ai_onnxrt to include RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6AF7F09730B3F0A4

HOWEVER I am running into problems later with failed VitisAIExecutionProvider and I am troubleshooting and am wondernig if the above change will mess up the docker container somehow.

QUESTION : Is Azure U250 NP10 VM supposed to work with onnxruntime? ( DPUCADF8H )

In the instructions there is discussion about loading the DFX-2RP shell but this seems to be something Azure cloud users have no control over as the xbmgmt returns 0 devices although the xbutil examine returns a u250 device successfully. I assume Azure NP10 is loading the shell automatically and I have only user access. But I don't know if this prevents onnxruntime from running correctly.

skottmckay commented 2 years ago

The instructions you're following are from Vitis-AI. I would suggest creating an Issue on their GitHub repo - https://github.com/Xilinx/Vitis-AI/issues