microsoft / microsoft/onnxruntime

[Documentation] Missing steps for setup of Xilinx KV260

Open
#16,549 4 comments 0 reactions 0 assignees View on GitHub
documentation ep:VitisAI
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

### Describe the documentation issue

Not sure if this should be a documentation issue for the Onnx team or if Xilinx should be the one to fix this but here goes.

The paragraph on adaptable SoCs from AMD doesn't really give any instructions for how to set up a system in order to run inference on onnx models using the hardware acceleration they have. I follow the steps from AMD and perform the steps they tell me to and everything seems to be fine. The moment I start up python and run `import onnxruntime` I am faced with the following error which would indicate that there is some step missing.
```python
>>> import onnxruntime
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.9/site-packages/onnxruntime/__init__.py", line 55, in
raise import_capi_exception
File "/usr/lib/python3.9/site-packages/onnxruntime/__init__.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401
File "/usr/lib/python3.9/site-packages/onnxruntime/capi/_pybind_state.py", line 33, in
from .onnxruntime_pybind11_state import * # noqa
ImportError: libonnxruntime_vitisai_ep.so: cannot open shared object file: No such file or directory
```

It seems like no one else has encountered the issue as there are no results for it online.
Yes I have looked for `libonnxruntime_vitisai_ep.so` on the system but it does not exist.

### Page / URL

https://onnxruntime.ai/docs/execution-providers/Vitis-AI-ExecutionProvider.html#amd-adaptable-soc-installation

Contributor guide

Open the contributing guide

Research direction

Review the AMD Adaptable SoC installation section at the linked Vitis AI Execution Provider page and compare its documented setup with the reported KV260 failure. Start by checking how the `onnxruntime` import obtains `libonnxruntime_vitisai_ep.so`; done means documenting the missing setup step or clarifying the supported installation path so the import works.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.