mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
* Initial release of Vitis-AI Execution Provider * Add documentation, fix for onnxruntime::Model changes and use stringstream instead of file dump for model passing * - Add Vitis-AI docker file - Add online quantization flow Vitis-AI execution provider - Fix remarks * - Add fatal error build message for Vitis-AI cmake build on Windows - Fix pep8 issue in build.py - Add Vitis-AI execution provider example in docs Co-authored-by: Elliott Delaye <elliott@xilinx.com> Co-authored-by: Jorn Tuyls <jornt@xilinx.com> Co-authored-by: Jorn Tuyls <jtuyls@users.noreply.github.com>
33 lines
773 B
Bash
Executable file
33 lines
773 B
Bash
Executable file
# --------------------------------------------------------------
|
|
# Copyright(C) Xilinx Inc.
|
|
# Licensed under the MIT License.
|
|
# --------------------------------------------------------------
|
|
|
|
user=`whoami`
|
|
uid=`id -u`
|
|
gid=`id -g`
|
|
|
|
xclmgmt_driver="$(find /dev -name xclmgmt\*)"
|
|
docker_devices=""
|
|
for i in ${xclmgmt_driver} ;
|
|
do
|
|
docker_devices+="--device=$i "
|
|
done
|
|
|
|
render_driver="$(find /dev/dri -name renderD\*)"
|
|
for i in ${render_driver} ;
|
|
do
|
|
docker_devices+="--device=$i "
|
|
done
|
|
|
|
docker run \
|
|
$docker_devices \
|
|
-v /opt/xilinx/dsa:/opt/xilinx/dsa \
|
|
-v /opt/xilinx/overlaybins:/opt/xilinx/overlaybins \
|
|
-e USER=$user -e UID=$uid -e GID=$gid \
|
|
-v $PWD:/workspace \
|
|
-w /workspace \
|
|
-it \
|
|
--rm \
|
|
--network=host \
|
|
onnxruntime-vitisai
|