google-coral / edgetpu

Coral issue tracker (and legacy Edge TPU API source)
https://coral.ai
Apache License 2.0
422 stars 125 forks source link

Dual TPU not showing up on 1x2 pcie e key #605

Open dylan-alfi opened 2 years ago

dylan-alfi commented 2 years ago

Hi everyone, I have a CT-MCL01 premio motherboard with 1x M.2 (E Key, PCIe x2). After installing the driver and libraries only one tpu shows up. lspci -nn System peripheral [0880]: Global unichip corp. Coral Edge Tpu [1ac1:089a]

Any help is greatly appreciated.

hjonnala commented 2 years ago

Hello @dylan-alfi please check with community here if anyone has successfully detected two TPUs with CT-MCL01 premio motherboard: https://github.com/google-coral/edgetpu/issues/256

Thanks!

dylan-alfi commented 2 years ago

Hi @hjonnala I checked on#256 . The CT-MCL01 is supported.

magic-blue-smoke commented 2 years ago

Hi everyone, I have a CT-MCL01 premio motherboard with 1x M.2 (E Key, PCIe x2). After installing the driver and libraries only one tpu shows up. lspci -nn System peripheral [0880]: Global unichip corp. Coral Edge Tpu [1ac1:089a]

Any help is greatly appreciated.

@dylan-alfi Dual TPU card has two independent TPUs and each TPU requires it's own PCIe bus, ie not PCIe x2 lanes, but rather 2xPCIe x1

I went through CT-MCL01 manual and block-diagram on page 8 shows PCIe lanes 19 and 20 are going to m.2 E-key slot. Later in that document in BIOS section there's config for PCIe Root Port 19 and the next is 21. This gives me a clue that PCIe port for m.2 E-key slot is configured as PCIe x2, which is wrong and not to m.2 electromechanical specs. To confirm, please try sudo lspci -vvv. Then find Coral TPU among devices and the line which starts with LnkCap:. If you see Width x2, then contact mobo manufacturer to see if there's BIOS update or setting to configure PCIe 19 from PCIe x2 to 2xPCIe x1