-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What Edge TPU Works with What Hardware/Software #256
Comments
Thanks @usbguru!!! |
Hi @usbguru, are you 100% sure the tested Nexcom NDiS B537 M.2 E-Key slot reported to be compatible with the M.2 Accelerator with Dual Edge TPU has two instances of PCIe x1 lanes? FWIW, I've plugged a M.2 Accelerator with Dual Edge TPU in a M.2 E-Key to PCIe x1 adapter and obviously, only one TPU device is working:
|
Hi, got confirmation from Nexcom that the NDiS B537 M.2 E-Key slot has 2 x PCIe Gen. 3 lanes. |
Are there any PCIe adapters that work with M.2 Accelerator with Dual Edge TPU to get use of both TPU's ? |
Did not find such an adapter on the market after a somewhat extensive search. For now, I've collected the following list of devices with explicit M.2 E-Key 2x PCIe support (in addition to the Nexcom NDiS B537 device mentioned above). Motherboards:
Computers:
Note: Nexcom also manufactures devices with explicit Coral support but they do not mention what model:
PS: I will update the list if I find additional devices. |
Im going to try this combo. Ill report back and let you know if it works. Im trying to put this in an existing server/pc I have via PCIe.. https://www.amazon.com/gp/product/B07G8N8Y9J?ref=ppx_pt2_dt_b_prod_image + https://www.amazon.com/gp/product/B079NB8J3B/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1 |
@pdecat confirmed adapters work. 1x TPU, but better than nothing. ( using https://coral.ai/products/m2-accelerator-dual-edgetpu ) |
@mitchross M.2 adapter https://www.amazon.com/gp/product/B079NB8J3B/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1 running Ubuntu 20.10
|
@mitchross https://community.home-assistant.io/t/local-realtime-person-detection-for-rtsp-cameras/103107/2241 and he used this adapter |
Hi, Does anyone managed to use M.2 Accelerator on Raspberry Pi 4? |
Google's Coral hardware ecosystem is grossly under-tested, it's unfortunate the hardware does not have the same support as their software! It is working with the Jetson Nano but the hurdles, Google support should document it on their homepage. The Bananapi M4 has no hardware limitation, just not “supported” by their team. |
|
@mitchross Jetson Nano should works, what issue do you have with it? |
@Namburger @mitchross how is this verified? Banana Pi is the company, the device (Banana Pi M4) Do you mean that the M.2 slots on devices need to be PCIE 3.0 (MSI-X was standardized in the pcie 3.0 revision). |
Jetson nanon doesnt work out of the box without applying your fix. @rdejana Hi, although I haven't seen these issue before, we have had success stories from jetson nano users. There is one thing that you can try: $ cat /boot/extlinux/extlinux.conf MENU TITLE L4T boot options LABEL primary |
Hi folks, Running in an Asus Z390I-G Mini-itx with i9 - 9900k on Unraid OS (bit of a faff compiling gasket and apex) As mentioned only a single TPU at time of writing. The mobo as an M key slot, so using the mentioned adapter is the easiest solution, BUT..... M2 M Key > PCIe Curious as that should preserve x4 and make the 2nd of the TPU modules available? |
Requires a dual bus PCIe: |
HI , i try to run Dual Edge TPU whit a Dell optiflex 3060 Micro Form Factor I had test varius OS ( Debian / ubuntu ) dont see it; also the bios seems not to see it, in the summary screen it shows empty slot. Any suggestion? or can suggest me any adapter to try M.2 pcie |
@moscheIT Can you share the output of 'lscpu', 'uname -a' and 'dmesg' ? |
@manoj7410 certainly there are no problems! here are the required outputs: lscpu
uname -a cat /etc/os-release
dmesg
|
Please share the output of below commands too:
|
lspci
** modinfo gasket **
*ls /dev/apex ** |
Please also share the output of : lsmod | grep apex Also confirm if you have followed the instructions given at : https://coral.ai/docs/m2/get-started/#2a-on-linux |
Yes I confirm that I have followed the instructions in the guide, in any case i dont't see the coral lsmod | grep apex
|
@moscheIT I assume that you are working with a Native installation of Ubuntu and not a VM or Virtual Box or WSL. Please correct me if my assumption is wrong. |
@manoj7410 yes you are correct I am working with a "native version", in this case of debian 10 buster. |
hi, I have a question. My hardware is Z87E-itx with i5-4570S with windows 10.
will a dual edge coral work with my setup? if so what do I need to purchase. I would like to use it with docker using frigate TIA! |
@moscheIT Can you check with Dell if 'Dell optiflex 3060 Micro Form Factor' supports M.2 A+E key devices? |
@manoj7410 i think dell documentation is lacking,or I have lost the ability to search for information..... so I assume the answer to your question is yes |
I've reviewed this thread and some of the items I looked for that mentioned earlier on this thread are no longer available. Could someone please post any personal experience/advice/information on any compatible Single Board Computers where I can use both TPUs on the dual E-Key Edge TPU. I'd prefer not to use adapters, if that's possible. I'm open to any SBC that can reliably run a modern linux. Thanks! |
Implementing this seems very specialised and when I looked last year only found one machine and was waaaay expensive. You would be far better off getting an adapter from magic-blue-smoke and plugging it in a regular PC. Even easier is getting a MiniPCIe or M.2 Coral and plugging it in a regular PC which is what I ended up doing. I found a second hand SFF machine with i5-6500 CPU for 60 bucks. Plenty fast enough to run Frigate with 8 or more SD video streams and very cheap solution. |
Hi, anybody know if the M.2 Accelerator with Dual Edge TPU will work in the WiFi slot of the ASRock DeskMeet B660 (B660-ITX MoBo)? Specifically, are both TPU's recognized? What I know is that it's an E-Key slot. What I don't know is whether it's been electrically configured with 1 or 2 lanes. If I'm understanding the situation correctly, the original E-Key standard was two individual PCIe x1 lanes, but at some point in the evolution of PCIe, many MoBo manufacturers began dropping the second lane from E-Key slots. Unfortunely, I can't find any info on the configuration of the DeskMeet B660. Any help would be appreciated. |
I've an ASrock mobo with m.2 wifi and it works, but I think just a TPU is detected |
If you check this link https://download.asrock.com/Manual/B660-ITX.pdf In chapter 2.7 you can see it only supports WiFi modules. I had the same issue with my MSI PRO Z690-A WIFI DDR4. Did also try to run the TPU in the WiFi module, but it didn't work. Ended up buying the adapter. |
@grigio @de-Techneut Thank you both for the replies! @grigio mind if I ask with model MoBo you have? |
A620M-HDV/M.2+ |
I finally got all the parts and time to put together my Frigate NVR system, using the @magic-blue-smoke PCIe x1 dual edge adapter. So far everything appears to be running well with both TPUs performing. Kind of overkill for an eight camera system, but it gives me room to play around. It was a bit of trouble to install the apex drivers on my TrueNAS Scale system, but this would be an issue no matter how you try to pass a PCIe device to a TrueNAS application. The OS really doesn't want you to do that. |
Hi @eagle239 please contact me using a feedback form at the bottom of the page |
done, thx |
Has anyone tried the "Coral Dual Edge TPU" on Orange Pi 5 Plus? |
Has anyone tried this? Any chance this will work? https://www.amazon.com/Sintech-Half-Size-Express-Compatible-Intel/dp/B00KZHDK28/ |
Is there any way to use the "Coral Dual Edge TPU" through thunderbolt somehow? |
Unfortunately, there was no store update since August 2023. (magic-blue-smoke/Dual-Edge-TPU-Adapter#8) |
New batch is already in production and should be available in February |
Hi I'm planning to buy a HP Prodesk or Elitedesk Sff G3. According to the specs it has a pcie x1 for wifi, pcie 4x for storage, and two pcie 16x. Some forum posts suggest I can only use the pcie 16x slots for the Coral, the other two only work for wifi or storage. I'm very confused which Coral adapter to use, as it's been a while I've installed stuff into a pc. I want to avoid the Coral USB at it's hard to find. Which Coral M2 or Mini PCIE should I buy? |
See my comment above... #256 (comment) I have an M.2 Coral installed in SFF PC using a PCIe adapter card aimed at WiFi use but works fine with the Coral. |
@raintonr thanks, which M2 version do you have as there are three? And not sure why you needed an adapter. |
@raintonr I just saw this post where someone tried to install it in the m2 slot and failed :( Do you have an HP? |
I have the following:
This hardware handles 5 x HikVision 4MP cameras and 2 x HikVision 2MP video intercoms in Frigate with ease. |
I am using following setup: M.2 Accelerator with Dual Edge TPU (M.2 E-Key) on Dual Edge TPU Adapter PCIe x1 version from magic-blue-smoke Hardware (custom setup): Intel i5-11600 on Asus Prime H570M-Plus with 5x HikVision 4MP cameras Works since Months without problems and Temp of Coral TPUs at about 45°C with a cheap cooling plate mounted on the Coral TPUs |
I'm able to access both TPU's from the Coral Dual PCIe accelerator using the Maker Fab Dual TPU Low Profile adapter on the Zima Blade and Zima Board. Running Also works fine with Frigate just needed to pass both apex devices to the docker container.
config.yml
|
Do you know if my M2 mini A+E coral will work with this adaptor that accepts 2230 Key E? https://coral.ai/products/m2-accelerator-ae/ https://www.amazon.com/-/es/Adaptador-Interface-2230-2280-Velocidad-completa/dp/B07PXWGZ56 Thanks |
Banana Pi R2 Pro with Coral mpcie: Some general instructions - https://github.com/cojocarimiroslav/coral_on_bpi_r2_pro |
Hello. May be some of you used HP EliteDesk 800 mini G3 and can help me??? |
See my comment: #256 (comment) |
Hello. Thank you. |
HP ProDesk 600 G3 mini with Dual TPU in WiFi slot - no luck. Apparently the WiFi slot supports only CNVio, but I'm not sure. |
ASUS Tinker Board 2 detects Coral Dual TPU in it's e-key m.2 slot linaro@linaro-alip:~$ lspci -nn | grep 089a
01:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a] UPD sudo apt update && sudo apt upgrade
sudo apt install linux-headers-current-rockchip64 Reboot echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get install libedgetpu1-std
sudo apt install -y devscripts debhelper
sudo apt install dkms
sudo apt-get install dh-dkms
sudo git clone https://github.com/google/gasket-driver.git
cd gasket-driver
sudo debuild -us -uc -tc -b
cd ..
sudo dpkg -i gasket-dkms_1.0-18_all.deb
sudo sh -c "echo 'SUBSYSTEM==\"apex\", MODE=\"0660\", GROUP=\"apex\"' >> /etc/udev/rules.d/65-apex.rules"
sudo groupadd apex
sudo adduser $USER apex Reboot and test: lspci -nn | grep 089a Should return: 01:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a] Command ls /dev/apex_0 Should return: /dev/apex_0 Now when TPU is detected and working we can test it with Docker container (easier) - just used Jeff Geerling's instruction. curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh Test:
|
I am about to order a few Corals and am somewhat stuck on what to get. I understand, that while the Dual Edge unit may be very tempting, getting both TPUs to work is a challenge. The single unit PCIe card from @magic-blue-smoke is nice, but for use cases where even more TPUs are required it would be more economic to have a card that provides multiple M.2 slots and I understand that the "Low profile PCIe x4 for two Dual Edge TPU cards" is still being worked on. So, my approach would be to look into cards that provide multiple M.2 slots on a single PCIe slot and use single-TPU corals instead of the Dual Edge. A dream card would be this one: @mitchross wrote, that he had some success with a product like this: https://www.amazon.com/gp/product/B07G8N8Y9J although it is not quite clear to me if it had to be used in combination with https://www.amazon.com/gp/product/B079NB8J3B or if these were two separate standalone tests? I understand, that @mitchross was testing the Dual Edge TPU and only one TPU showed up, but here's what I thinking, would single TPU corals work with cards like these: Now, this particular ASUS card says:
So I guess the above board is not an option. My question to the hardware folks in this thread would be: what is the big difference (i.e. what to look out for) between the ASUS Hyper and the "PCI-E PCI Express 3.0 X4 to NVME M.2 NVME to NVME SSD PCI-e 3.0 x 4 Host Controller Expansion Card Support M Key SSD Type 2280 2260 2242 2230 Adapter Converter" from the Amazon link? Could anyone suggest a similar card, i.e. one that would provide at least four M.2 slots, which would support single TPU corals? Alternatively, if anyone could suggest an adapter/splitter of one PCIe x16 slot to multiple mini-PCI slots, then using the mini PCI Coral would be an option? |
Each Coral product has been tested with specific hardware and software versions.
These development systems must be connected to a host computer:
These embedded products are connected through an operating system
Embedded motherboards vary widely in what they are compatible with. Some M.2 slots could work with more peripheral cards, but have been tailored for a specific purpose. These systems are known to work with these products:
The text was updated successfully, but these errors were encountered: