Utilize m2 Coral Edge TPU in docker


Jaburges

Recommended Posts

Moved from the wrong area:

 

Hi Folks,

So this wasn't as easy as I thought as the host OS needs the drivers.

According to the instructions: Get started with the M.2 or Mini PCIe Accelerator | Coral

 

I need to install these packages:

sudo apt-get install gasket-dkms libedgetpu1-std

 

However apt-get isn't available on Unraid - bugger

The odd thing is the device shows up in lspci - so i'm wondering if I can still use it? 

 

I'm not sure if I can find the device on the host and map it to the docker. Is there a way to run the drivers in another docker and use that on the host? or can someone help me figure out how to map it?

 

I'm going to be using Frigate which is docker.

 

mapping -v /dev:/dev

the device shows up inside the docker, but it doesn’t appear usable, so I ‘think’ the issue is the drivers on the host - any suggestions?

 

I’m wondering if I can take a backup/snapshot of my Unraid Host OS, and then try and install the packages? Although not sure how to install without a package manager?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.