Skip to main content

This is a very interesting thread as I’m testing and M.2 card on an AMD system as well and am having what seems to be the exact same problems. Things added / tried:

  • kernel command line includes md_iommu=off pcie_aspm=off

  • update-pciids → resulted in card having the correct name in lspci : Axelera AI Metis AIPU (rev 02)

  • axdevice --refresh -v results in:

INFO:axelera.runtime.axdevice:Removing 0000:20:04.0
INFO:axelera.runtime.axdevice:PCIE rescan
0000:25:00.0 : Axelera AI Metis AIPU (rev 02)
INFO:axelera.runtime:Found PCI device: 25:00.0 Processing accelerators: Axelera AI Metis AIPU (rev 02)
INFO:axelera.runtime:Found AIPU driver: metis                  90112  0
WARNING:axelera.runtime:4PCI device count mismatch: lspci=1, triton=0

(removed the traceback)

  • just tried rerunning install.sh which mentions at the end:

    building operators
    refreshing pcie and firmware
    WARNING: Failed to refresh pcie and firmware

 

tried removing metis-dkms / rmmod metis and reinstalling results in same warning as above.

Doing a triton_multi_ctx –bc-version results in “Fail to get device name”

Hmm. Now what?

 

Cheers!

Hi ​@Martian , sorry to hear you’re having difficulties, but thanks for the info - let’s see if we can help you out!

To kick things off, could you give us a couple of extra details about your host system? Maybe just CPU, RAM amount, OS version - thanks 🙂

(Also, hope it’s cool but I promoted your reply to ​@tripton’s discussion into its own post, just in case anything’s different and to help you keep track of any advice more easily 👍)


Thanks! 

And no worries - was thinking there might be a lot of overlap with the other post, but we’ll see :-)

System: MSI B450 (MS-7C02);  ryzen 5 3600, 32g ram, nvme ssd, some GTC card

fresh install of ubuntu 22.04.5 LTS

the m.2 card is on an expansion card, it shows up in lshw:

                 *-generic UNCLAIMED
                      description: Processing accelerators
                      product: Metis AIPU (rev 02)
                      vendor: Axelera AI
                      physical id: 0
                      bus info: pci@0000:25:00.0
                      version: 00
                      width: 64 bits
                      clock: 33MHz
                      capabilities: pm msi pciexpress cap_list
                      configuration: latency=0

and in lspci of course:

25:00.0 Processing accelerators: Axelera AI Metis AIPU (rev 02)
    Subsystem: Axelera AI Metis AIPU (rev 02)
    Flags: fast devsel, IRQ 32
    Memory at <ignored> (64-bit, non-prefetchable) odisabled]
    Memory at <ignored> (32-bit, non-prefetchable) rdisabled]
    Expansion ROM at <ignored> (disabled]
    Capabilities: <access denied>
    Kernel modules: metis

does this help?


Awesome, thanks ​@Martian! Let me ask around and see if anything jumps out 👍


Hello my name is Kevin,

 

i am trying to work on a project that the m.2 is going to interfere with my cpu and leter on maybe my gpu.

the first hickup i am encountering is to the installation.

i tried:

Powershell;

WSL;

and even MSYS.

offcourse with a venv and also wthout it this:

>> python ./inference.py yolov5s-v7-coco media/traffic1_1080p.mp4
Traceback (most recent call last):
  File "C:\Windows\system32\voyager-sdk\inference.py", line 5, in <module>
    import gi
ModuleNotFoundError: No module named 'gi'

when i try the installation its a no go on both wsl and powershell.

 

my system is:

AMD 9950X3D CPU

AMD 7900XTX GPU

48 gb DDR5 on 8200MHZ

Metis Axelera AI on an m.2 port.

 

pls help me.


Reply