./install.sh --all --media --verbose
[sudo] password for user:
+--------------------------------------------------------------------------------------------------+
| Axelera AI - Voyager SDK 1.5.1 |
+--------------------------------------------------------------------------------------------------+
| O/S | Ubuntu 2204 [amd64] OK |
|==================================================================================================|
| Development | /home/user/voyager-sdk OK |
| Pyenv | /home/user/.pyenv OK |
| Python | 3.10.6 OK |
| Pip | 24.0 OK |
| Setuptools | 80.9.0 OK |
| Wheel | 0.45.1 OK |
| Python libs | cfg/requirements-ubuntu-2204-amd64.txt OK |
| Dependencies | git OK |
| | kmod OK |
| | llvm-14 OK |
| | llvm-14-dev OK |
| | make OK |
| | wget OK |
| Pyenv deps | python3-venv OK |
| Python deps | python3.10-dev OK |
| | build-essential OK |
| | libssl-dev OK |
| | pkg-config OK |
| | tk-dev OK |
| | xz-utils OK |
| | zlib1g-dev OK |
| | libbz2-dev OK |
| | libcairo2-dev OK |
| | libffi-dev OK |
| | libgirepository1.0-dev OK |
| | liblzma-dev OK |
| | libncurses-dev OK |
| | libreadline-dev OK |
| | libsqlite3-dev OK |
| Runtime | clinfo OK |
| | graphviz OK |
| | libasio-dev OK |
| | libboost-filesystem1.74.0 OK |
| | libboost-log1.74.0 OK |
| | libboost-program-options1.74.0 OK |
| | libboost-regex1.74.0 OK |
| | libboost-thread1.74.0 OK |
| | libeigen3-dev OK |
| | libgstreamer-plugins-good1.0-dev OK |
| | libgstreamer-plugins-bad1.0-dev OK |
| | libgstreamer1.0-dev OK |
| | gstreamer1.0-libav OK |
| | libgstrtspserver-1.0-dev OK |
| | libjson-glib-dev OK |
| | libprotobuf-dev OK |
| | libsimde-dev OK |
| | libzmq3-dev OK |
| | meson OK |
| | nlohmann-json3-dev OK |
| | ocl-icd-opencl-dev OK |
| | python3-gi OK |
| | qt6-base-dev OK |
| | gstreamer1.0-opencv OK |
| | unzip OK |
| | vainfo OK |
| | intel-media-va-driver-non-free OK |
| | gstreamer1.0-vaapi OK |
| | intel-opencl-icd OK |
| | gstreamer1.0-plugins-base OK |
| | gstreamer1.0-plugins-good OK |
| | gstreamer1.0-plugins-ugly OK |
| | gstreamer1.0-rtsp OK |
| | gstreamer1.0-tools OK |
| | gstreamer1.0-x OK |
| Environment | AXELERA_RUNTIME_DIR /opt/axelera/runtime-1.5.1-1 |
| | AXELERA_DEVICE_DIR /opt/axelera/device-1.5.1-1/omega |
| | AXELERA_RISCV_TOOLCHAIN_DIR |
| | /opt/axelera/riscv-gnu-newlib-toolchain-409b951ba662-7 |
| | PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION python |
| | AXELERA_FRAMEWORK $PWD |
| | AIPU_FIRMWARE_OMEGA ${AXELERA_DEVICE_DIR}/bin/start_axelera_runtime.elf |
| | AIPU_RUNTIME_STAGE0_OMEGA |
| | ${AXELERA_DEVICE_DIR}/bin/start_axelera_runtime_stage0.bin |
| | TVM_HOME ${AXELERA_RUNTIME_DIR}/tvm/tvm-src |
| | GST_PLUGIN_PATH |
| | ${AXELERA_RUNTIME_DIR}/lib/gstreamer-1.0 + ${AXELERA_FRAMEWORK}/operators/lib |
| | + ${GST_PLUGIN_PATH} |
| | PYTHONPATH |
| | ${AXELERA_FRAMEWORK} + ${AXELERA_RUNTIME_DIR}/tvm/tvm-src + ${PYTHONPATH} |
| | LD_LIBRARY_PATH |
| | ${AXELERA_RUNTIME_DIR}/lib + ${AXELERA_FRAMEWORK}/operators/lib + |
| | ${LD_LIBRARY_PATH} |
| | PATH ${AXELERA_RUNTIME_DIR}/bin + ${AXELERA_RISCV_TOOLCHAIN_DIR}/bin + ${PATH} |
| | PKG_CONFIG_PATH |
| | ${AXELERA_RUNTIME_DIR}/lib/pkgconfig + |
| | ${AXELERA_FRAMEWORK}/operators/lib/pkgconfig + ${PKG_CONFIG_PATH} |
|==================================================================================================|
| Common | libgstreamer-plugins-base1.0-dev OK |
| | axelera-runtime-1.5.1 OK |
| | systemd OK |
| PCIe driver | metis-dkms == 1.4.4 OK |
| | axelera-multi-device == 1.0.0 OK |
+--------------------------------------------------------------------------------------------------+
| No pending installation tasks. To activate the environment, type: |
| |
| source venv/bin/activate |
| |
| To get started, please see the Quick Start Guide at: |
| |
| ./docs/tutorials/quick_start_guide.md |
+--------------------------------------------------------------------------------------------------+
user@wgt-axelera-ryzen:~/voyager-sdk$
installed sdk and the PCIE card is visible
ser@wgt-axelera-ryzen:~$ lspci -tv
-[0000:00]-+-00.0 Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
+-00.2 Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
+-01.0 Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
+-01.1-[10]----00.0 Axelera AI Metis AIPU (rev 02)
+-02.0 Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
+-02.1-[16-22]--+-00.0 Advanced Micro Devices, Inc. [AMD] A520 Series Chipset USB 3.1 XHCI Controller
| +-00.1 Advanced Micro Devices, Inc. [AMD] 500 Series Chipset SATA Controller
| \-00.2-[20-22]----01.0-[22]----00.0 Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
+-02.2-[23]----00.0 Shenzhen Techwinsemi Technology Co., Ltd. TE3420 series / Patriot P320 M.2 NVMe SSD (DRAM-less)
+-08.0 Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
+-08.1-[30]--+-00.0 Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series]
| +-00.1 Advanced Micro Devices, Inc. [AMD/ATI] Renoir/Cezanne HDMI/DP Audio Controller
| +-00.2 Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir/Cezanne Platform Security Processor
| +-00.3 Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
| +-00.4 Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
| \-00.6 Advanced Micro Devices, Inc. [AMD] Ryzen HD Audio Controller
+-14.0 Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller
+-14.3 Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge
+-18.0 Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
+-18.1 Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
+-18.2 Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
+-18.3 Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
+-18.4 Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
+-18.5 Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
+-18.6 Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
\-18.7 Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
but when trying inference getting error
./inference.py yolov5s-v7-coco media/traffic1_1080p.mp4 --verbose
DEBUG :axelera.app.utils: $ vainfo
WARNING :axelera.app.utils: Failed to get OpenCL platforms : clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR
WARNING :axelera.app.utils: Please check the documentation for installation instructions
DEBUG :axelera.app.device_manager: Using device metis-0:10:0
DEBUG :axelera.app.network: Create network from ax_models/zoo/yolo/object_detection/yolov5s-v7-coco.yaml
DEBUG :axelera.app.network: Register custom operator 'decodeyolo' with class DecodeYolo from ax_models/decoders/yolo.py
DEBUG :axelera.app.device_manager: Reconfiguring devices with device_firmware=1, mvm_utilisation_core_0=100%, clock_profile_core_0=800MHz, mvm_utilisation_core_1=100%, clock_profile_core_1=800MHz, mvm_utilisation_core_2=100%, clock_profile_core_2=800MHz, mvm_utilisation_core_3=100%, clock_profile_core_3=800MHz
DEBUG :axelera.app.pipe.manager:
DEBUG :axelera.app.pipe.manager: --- EXECUTION VIEW ---
DEBUG :axelera.app.pipe.manager: Input
DEBUG :axelera.app.pipe.manager: └─detections
DEBUG :axelera.app.pipe.manager:
DEBUG :axelera.app.pipe.manager: --- RESULT VIEW ---
DEBUG :axelera.app.pipe.manager: Input
DEBUG :axelera.app.pipe.manager: └─detections
DEBUG :axelera.app.pipe.manager: Network type: NetworkType.SINGLE_MODEL
DEBUG :yolo: Model Type: YoloFamily.YOLOv5 (YOLOv5 pattern:
DEBUG :yolo: - 3 output tensors (anchor-based)
DEBUG :yolo: - Each output has 255 channels
DEBUG :yolo: = 3 anchors × (4 box + 1 obj + 80 classes)
DEBUG :yolo: = 3 × (4 + 1 + 80) = 255
DEBUG :yolo: - Shapes: [[4, 40, 40, 255], [4, 20, 20, 255], [4, 80, 80, 255]])
DEBUG :axelera.app.pipe.io: New source 0: media/traffic1_1080p.mp4 (VIDEO_FILE)
DEBUG :axelera.app.pipe.io: FPS of media/traffic1_1080p.mp4: 60
DEBUG :axelera.app.operators.inference: Using inferencenet name=inference-task0 model=/home/user/voyager-sdk/build/yolov5s-v7-coco/yolov5s-v7-coco/4/model.json devices=metis-0:10:0 double_buffer=True dmabuf_inputs=True dmabuf_outputs=True num_children=0
DEBUG :axelera.app.pipe.gst: Started building gst pipeline
DEBUG :axelera.app.pipe.gst_helper: Found source_ids to pads mapping: {0: 'pad0'}
DEBUG :axelera.app.pipe.gst_helper: Setting state of pipeline0 to <enum GST_STATE_READY of type Gst.State>
DEBUG :axelera.app.pipe.gst_helper: pipeline0: state-changed (null to ready)
Segmentation fault (core dumped)
(venv) user@wgt-axelera-ryzen:~/voyager-sdk$
