Skip to main content

hello I hijack this a little bit

 

once I type “lspci” it gave me following output on a pi 5

 

0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30)

0001:01:00.0 Processing accelerators: Axelera AI Metis AIPU (rev 02)

0002:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30)

0002:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge

 

how to activate the device and getting to work with my python3 script

 

 

hello I hijack this a little bit …

 

once I type “lspci” it gave me following output on a pi 5

 

0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30)

0001:01:00.0 Processing accelerators: Axelera AI Metis AIPU (rev 02)

0002:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30)

0002:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge

 

how to activate the device and getting to work with my python3 script

 

 

Just enough to go to voyager sdk folder, type from this folder:

 

source venv/bin/activate 

 

And run inference.py script with desired model and input


eeehhh it breaks at requirement pycairo==1.24.0 on python3.11.2


i`ll try this to met /dev/metis-1:1:0 device

 

Create Install Directory

In your home folder:

mkdir v1.2.5
cd v1.2.5/

Install PCIe driver

1) Download driver

wget https://software.axelera.ai/artifactory/axelera-apt-source/metis-dkms/metis-dkms_0.07.16_all.deb

2) Make sure dkms is installed

sudo apt-get install dkms

3) Then install the driver

sudo dpkg -i metis-dkms_0.07.16_all.deb
sudo modprobe metis

i`ll try this to met /dev/metis-1:1:0 device

 

Create Install Directory

In your home folder:

mkdir v1.2.5
cd v1.2.5/

Install PCIe driver

1) Download driver

wget https://software.axelera.ai/artifactory/axelera-apt-source/metis-dkms/metis-dkms_0.07.16_all.deb

2) Make sure dkms is installed

sudo apt-get install dkms

3) Then install the driver

sudo dpkg -i metis-dkms_0.07.16_all.deb
sudo modprobe metis

Yes, this will install drivers, but then if your OS is not Ubuntu 22, you need install docker and run voyager setup from it and install 


my OS is raspberryOS eg. bookworm Debian 

 

but the docker container hung a bit

 

<19/67] libz.so.1 -> libz.so.1.2.11

<19/67] libxxhash.so.0 -> libxxhash.so.0.8.1

<19/67] libresolv.so.2 -> libresolv.so.2

<19/67] libc_malloc_debug.so.0 -> libc_malloc_debug.so.0

<19/67] /usr/local/lib: (from /etc/ld.so.conf.d/libc.conf:2)

<19/67] /lib: (from <builtin>:0)


my OS is raspberryOS eg. bookworm Debian 

 

but the docker container hung a bit

 

<19/67] libz.so.1 -> libz.so.1.2.11

<19/67] libxxhash.so.0 -> libxxhash.so.0.8.1

<19/67] libresolv.so.2 -> libresolv.so.2

<19/67] libc_malloc_debug.so.0 -> libc_malloc_debug.so.0

<19/67] /usr/local/lib: (from /etc/ld.so.conf.d/libc.conf:2)

<19/67] /lib: (from <builtin>:0)

I believe you are using SD card, for me actual setup was about 3 hours to complete, thats why I was switch to usb to SSD setup. Keep watching...


yes a SD card with 100MB/s read/write speed

so I must break and start it on another day …

got a piroman 5 case … must setup an ssd within the 5GBps USB port

but for the first try it is good

 

thank you


One quick question ​@florit - have you enabled PCIe Gen3 on the Raspberry Pi?

https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#pcie-gen-3-0


Yes i Write this to /boot/firmware/config.txt

dtparam=pciex1_gen=3

After „Audio“ dtparam


Reply