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!