magic-blue-smoke / Dual-Edge-TPU-Adapter

Dual Edge TPU Adapter to use it on a system with single PCIe port on m.2 A/B/E/M slot
278 stars 3 forks source link

Which m.2 variants for manufacturing? #5

Open magic-blue-smoke opened 3 years ago

magic-blue-smoke commented 3 years ago

This issue is to separate desktop PCIe here /issues/4 and m.2 variants

Dual Edge TPU to m.2 adapter is possible in following configurations:

Putting all of those into production is not easy, please let me know:

krim404 commented 3 years ago

i think the 2280 and the native x1 pcie version are the most favorable in this case. i dont see any market for a 2242 A+E card. i think a 2230 a+e with a riser would be more practicable.

magic-blue-smoke commented 3 years ago

@wmchris now I have the same feeling, but before that I was thinking Coral Dual TPU B+M adapter should be most popular for Rock Pi's and other SBC with m.2 B key slot. I was wrong: most adapters went to PCIe slot with another COTS NVMe-to-PCIe adapter. Will see how it goes :) Surely m.2 2280 B+M version seems not only more favorable, but also less constrained to manufacture

krim404 commented 2 years ago

I was wrong: most adapters went to PCIe slot with another COTS NVMe-to-PCIe adapter. Will see how it goes :)

well the reason is, that the native nvme slot supplies 4 pcie lanes, while your adapter shrink it to 1 pcie lane. in my case the pcie x1 slot on the mainboard is unused, as on most builds, while the nvme slots are occupied in the most cases

jeramiapoland commented 2 years ago

I'm interested in a m.2 A+E key adapter at either length.

EDIT: I was wrong. Everybody else was right. The B+M will be more useful. I'm looking for a PCIe and B+M adapters.

magic-blue-smoke commented 2 years ago

m.2 B+M 2280 hand soldered prototype:

m.2 B+M key 2280 Coral Dual Edge Adapter

Teme-V commented 2 years ago

I'm interested of B+M key adapter. Hope can get dual TPU recognized with this in HP elitedesk as with onboard NIC m.2 e-key it didn't work - not even recognized Edit: HP informed m.2 E-key 2280 slot work only with selected wlan cards

ShadowKitty42 commented 2 years ago

I'm interested in B+M key, 2280.

KingKoro commented 2 years ago

I'm also interested in B+M Key Variant. I have a NanoPi M4v2 that has a daughter board for NVMe B+M Key with PCIe 2.1 x2 Lanes. Does somebody know if there's a cheap e-key to b+m-key adapter that routes both pcie lanes through for dual edge tpu without any switch IC? Would it be difficult to design a simple passive adapter myself that routes both lanes?

Board: https://www.friendlyarm.com/index.php?route=product/product&product_id=268 NVMe Adapter: https://www.friendlyarm.com/index.php?route=product/product&product_id=262

krim404 commented 2 years ago

Does somebody know if there's a cheap e-key to b+m-key adapter that routes both pcie lanes through for dual edge tpu without any switch IC? Would it be difficult to design a simple passive adapter myself that routes both lanes?

you cant simply create a passive adapter, as a general m-keyed m2 has only one pcie bus. coral requires 2.

magic-blue-smoke commented 2 years ago

I'm also interested in B+M Key Variant. I have a NanoPi M4v2 that has a daughter board for NVMe B+M Key with PCIe 2.1 x2 Lanes. Does somebody know if there's a cheap e-key to b+m-key adapter that routes both pcie lanes through for dual edge tpu without any switch IC? Would it be difficult to design a simple passive adapter myself that routes both lanes?

Board: https://www.friendlyarm.com/index.php?route=product/product&product_id=268 NVMe Adapter: https://www.friendlyarm.com/index.php?route=product/product&product_id=262

@KingKoro you can design semi-passive adapter only if SoC supports PCIe bifurcation, ie PCIe x2 has to be split into 2xPCIe x1 in hardware. Contact manufacturer to see if it’s possible. Another issue is that there is only one clock line, while Dual Edge TPU requires two and you’d need clock fanout driver IC, that’s why it’s “semi-passive”

singsonn commented 2 years ago

Hello, I'm also interested in B+M key (2280).

KingKoro commented 2 years ago

@KingKoro you can design semi-passive adapter only if SoC supports PCIe bifurcation, ie PCIe x2 has to be split into 2xPCIe x1 in hardware. Contact manufacturer to see if it’s possible. Another issue is that there is only one clock line, while Dual Edge TPU requires two and you’d need clock fanout driver IC, that’s why it’s “semi-passive”

Thanks for the information, i didn't know that. According to another thread the RK3399 doesn't support PCIe bifurcation so that option is off the table for me then. Still great work you're doing here, looking forward to the B+M Key Adapter becoming a real product.

stormeporm commented 2 years ago

I'm interested in B+M key, 2280 And a pcie 1x card.

SimoSera commented 2 years ago

I'm interested in B+M key (2280)

jon-chen commented 2 years ago

Interested in the B+M key, 2280. Thanks!

cdrose commented 2 years ago

If the B+M key 2280 adapter does indeed work with a PCIe to 4 x M.2 adapter (with a suitable CPU and motherboard that support bifurcation), then this seems like a perfect solution for me. 8 x Coral TPUs at a fraction of the cost of the Asus CRL-G18U-P3D would be ideal for my application. I know you have said the 1 x PCIe adapter is the first to go to production, any ideas when the B+M 2280 might be available?

magic-blue-smoke commented 2 years ago

If the B+M key 2280 adapter does indeed work with a PCIe to 4 x M.2 adapter (with a suitable CPU and motherboard that support bifurcation), then this seems like a perfect solution for me. 8 x Coral TPUs at a fraction of the cost of the Asus CRL-G18U-P3D would be ideal for my application. I know you have said the 1 x PCIe adapter is the first to go to production, any ideas when the B+M 2280 might be available?

@cdrose adapter shown here has tiny mistake that does not affect anything, but confuses when you know where to look at. I’d fix it and run small production run with availability around Christmas.

m3e-g commented 2 years ago

Hi! I'm also interested in the B+M key (2280)

maeneak commented 2 years ago

B+M key (2280) please

cdrose commented 2 years ago

I would be keen to trial parts before Christmas, can you send me an email if you'd be open to discuss options for pushing things through a bit quicker.

Mattias314 commented 2 years ago

I'd be interested a B+M key as well!

stormeporm commented 2 years ago

I would be keen to trial parts too, I have two coral M.2 Accelerator with Dual Edge TPU boards I could run tests with

nborbit commented 2 years ago

I am interested in B+M key (2280)

thegirlg33k commented 2 years ago

I am interested in at least two B+M keys (2280).

bipple294 commented 2 years ago

I am interested in two B+M key 2280s.

aaron2198 commented 2 years ago

I, as well as some friends that i'll get to post here, are also interested in some of these B+M key 2280's. +2 at least.

yanfali commented 2 years ago

Interested in 1-2, B+M 2280 for a Mini PC, Odyssey X86 Blue J4125, specifically to run frigate nvr

AlessandroAU commented 2 years ago

I am also interested in one of these B+M 2280

SomeComputerGuy commented 2 years ago

I'm interested in 4 of these B+M 2280 boards. Thank you!

marcoboers commented 2 years ago

I'm also interested in the B+M key (2280)

migotom commented 2 years ago

Interested in the B+M key, 2280.

cptincrdbl commented 2 years ago

I'm interested in two of the B+M keys (2280) as well.

FM-17 commented 2 years ago

1x B+M

woolmonkey commented 2 years ago

Interested in B+M key. So the PCI-e x1 shows both with only 1 pci-e lane?

SecretiveShell commented 2 years ago

I am expressing my interest as requested in the readme.

mbirrell66 commented 2 years ago

I'd be interested a B+M key as well!

badscr commented 2 years ago

I’m interested in general,

I’ve got 3 computers and 3 e-key dual tpu cards. (Dell optiplex 7050 micro)

Each motherboard has One m.2 WLAN slot with A-Key. And the Coral cards are E-Key.

Can I carefully cut the A-key slot (pin 8-16) into my Dual TPU Coral E-key card to make it an a+e card?? Yah one tpu probably would not have pcie bus connection but 50% working is better then 0% also it would tell me if the motherboard has an pcie bus to the connector too. My only concern is pin 66 (UIM_POWER_SNK) and 68 (UIM_POWER_SRC).

magic-blue-smoke commented 2 years ago

Can I carefully cut the A-key slot (pin 8-16) into my Dual TPU Coral E-key card to make it an a+e card?? Yah one tpu probably would not have pcie bus connection but 50% working is better then 0% also it would tell me if the motherboard has an pcie bus to the connector too. My only concern is pin 66 (UIM_POWER_SNK) and 68 (UIM_POWER_SRC).

@badscr your best result is getting only one core, as A key has only one PCIe bus and only E-key can have both. Worst case - not getting any if it's Intel CNVio rather than PCIe.

UIM_xxx pins are interface from m.2 card to SIM-card on motherboard. Obviously TPU card is not using those.

Writing this without looking into specs and this should not be taken as "go for dremel" :rofl:

FlorianZ commented 2 years ago

Interested in B+M key (qty 1 or 2). Thank you!!!

ibrahimsoliman97 commented 2 years ago

I am interested in B+M Key, I got 2 Dual TPU Key E but I cannot run it on any of my PCs. Will a converter like the below work with Key E to Key M or at least detect a single TPU? image

https://shopee.com.my/M.2-A-E-Key-Slot-to-M.2-M-Key-Adapter-for-Intel-AX200-Bcm94352Z-Card-i.118950463.13926218941?sp_atk=66e6bfda-ab8e-43a6-9de1-abdc94275521

magic-blue-smoke commented 2 years ago

@ibrahimsoliman97 I expect you'll get one TPU if m.2 slot is PCIe (not SATA)

ibrahimsoliman97 commented 2 years ago

@magic-blue-smoke Sure, I will give it a try. Thanks.

hack2spider commented 2 years ago

B+M here 2 pcs`s possibly 4 ... to build to individual systems ...

B+M in this scenario would use the dual tpu in full (both tpus) I presume

magic-blue-smoke commented 2 years ago

This thread had intention to figure out which m.2 to produce. m.2 2280 B+M version is planned for production with availability in January and I encourage everyone having this version in mind to apply for a waiting list here: https://mbs-shop.online/waitinglist I'll be contacting people from the list prior to general sales

Calimerorulez commented 2 years ago

This thread had intention to figure out which m.2 to produce. m.2 2280 B+M version is planned for production with availability in January and I encourage everyone having this version in mind to apply for a waiting list here: https://mbs-shop.online/waitinglist I'll be contacting people from the list prior to general sales

@magic-blue-smoke The site for the waitinglist isn't reachable atm.

magic-blue-smoke commented 2 years ago

@Calimerorulez it's slower to load than I'd expect, but working at the moment. Please let me know if problem persists

mbirrell66 commented 2 years ago

How about a PCIe card that could fit 2 x Dual M.2 Key E - that would be perfect for the Figate project. Maximum TPUs' supported is 4 (for some reason). Now is the time to stert pumping them out as you would have the Monopoly :)

ozett commented 2 years ago

i recently thought of using multiple TPU in frigate, but its of no great benefit https://github.com/blakeblackshear/frigate/issues/2281#issuecomment-974038686

if frigate is extended to run more AI-Models (face-recognition was rumored) you may need one TPU for each Model..

magic-blue-smoke commented 2 years ago

How about a PCIe card that could fit 2 x Dual M.2 Key E - that would be perfect for the Figate project. Maximum TPUs' supported is 4 (for some reason). Now is the time to stert pumping them out as you would have the Monopoly :)

@mbirrell66 is that limit for Frigate? Or where it comes from?

kallejoken commented 2 years ago

I have now got myself a new motherboard ASRock j3355b. now I'm stuck with iommu_groups, the coral is in the same group as my network card and many other devices (group 5), can I somehow assign the coral to its own group?