[Detector Support]: EdgeTPU not detected in Frigate Docker (PCI / M.2 Coral) – "Failed to load delegate from libedgetpu.so.1.0" #15685
Replies: 3 comments 1 reply
-
Can you confirm that no other services are using the coral? |
Beta Was this translation helpful? Give feedback.
-
From a quick look on my working docker compose setup i found the following differences: |
Beta Was this translation helpful? Give feedback.
-
I think the device is mounted properly, but at this point I am not able to debug any further, as I have no knowledge in this area. I tried to run the pycoral tests in the docker environment to test, wether the recommended test procedures worked. I can see, that the edgetpu is also connected
Also adding
to /etc/modprobe.d/tpu.conf on the host, as mentioned in this reddit post did not help https://www.reddit.com/r/VFIO/comments/l5awg0/using_google_coral_mpcie_tpu_in_qemu_vm/ Best Thomas |
Beta Was this translation helpful? Give feedback.
-
Describe the problem you are having
Sorry, to ask such stupid questions, but I don't have any ideas how to proceed after upgrading from a previous (unknown) version of frigate to the new stable version;
I’m running Frigate v14 in a Docker container with a PCI/M.2 Coral device. On the host, the Coral is properly installed and recognized (e.g., via
lspci
), and/dev/apex_0
is present. I have set the container to run withprivileged: true
, and I can see/dev/apex_0
inside the container. However, Frigate still fails to detect the EdgeTPU with the following error:[2024-12-25 12:47:22] frigate.detectors.plugins.edgetpu_tfl ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors. ValueError: Failed to load delegate from libedgetpu.so.1.0
What I have tried so far
ls /dev/
showsapex_0
).libedgetpu.so.1.0
exists in/usr/lib/x86_64-linux-gnu/
.frigate.yml
to explicitly use:Do you have any additional hints how to proceed?
Thank you for your help!
Host OS: Ubuntu 22.04
Kernel version: 5.15.0-125-generic
Docker version: 20.10.17, build 100c701
Coral device: M.2 PCIe
Version
0.14.1-f4f3cfa
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Install method
Docker Compose
Object Detector
Coral
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions