Skip to content
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

Support for phyton 3.11 and modern versions of TensorFlow is broken #53

Closed
feranick opened this issue Dec 13, 2023 · 6 comments
Closed
Labels
comp:thirdparty Thirdparty related issues Hardware:M.2 Accelerator A+E Coral M.2 Accelerator A+E key issues Hardware:M.2 Accelerator B+M Coral M.2 Accelerator B+M key issues Hardware:M.2 Accelerator with dual Edge TPU Coral M.2 Accelerator with Dual Edge TPU issues Hardware:Mini PCIe Coral Mini PCIe Accelerator issues Hardware:USB Accelerator Coral USB Accelerator issues subtype:macOS macOS Build/installation issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:bug Bug type:build/install Build and install issues type:support Support question or issue

Comments

@feranick
Copy link
Contributor

feranick commented Dec 13, 2023

Description

tflite-runtime (which is needed for any high level API with edgetpu) is available only with support for Python 3.9. Most distribution now no longer ship with that version, rather either 3.10 or 3.11. So there is factually no version of tflite-runtime available to download with support for coral edgetpu. The only versions of TF that work are 2.11.1 and earlier. Later versions up to the current TF 2.15.0 leads to a segfault. While this al points to a lack of maintenance, it would be great to at least update so it can be used with, well, pretty much any modern version of OS and devices.

Click to expand!

Issue Type

Bug, Build/Install, Support

Operating System

Linux, Ubuntu, Mac OS

Coral Device

USB Accelerator, Mini PCIe, M.2 Accelerator A+E, M.2 Accelerator B+M, M.2 Accelerator with dual Edge TPU

Other Devices

Raspberry Pi 3, Rapsberry Pi 4

Programming Language

Other

Relevant Log Output

No response

@google-coral-bot google-coral-bot bot added comp:thirdparty Thirdparty related issues Hardware:M.2 Accelerator A+E Coral M.2 Accelerator A+E key issues Hardware:M.2 Accelerator B+M Coral M.2 Accelerator B+M key issues Hardware:M.2 Accelerator with dual Edge TPU Coral M.2 Accelerator with Dual Edge TPU issues Hardware:Mini PCIe Coral Mini PCIe Accelerator issues Hardware:USB Accelerator Coral USB Accelerator issues subtype:macOS macOS Build/installation issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:bug Bug type:build/install Build and install issues type:support Support question or issue labels Dec 13, 2023
@Smiril
Copy link

Smiril commented Dec 20, 2023

I’d like Debian and macOS
With macOS i got 2 usb Coral Edge Tour
And on Debian got one pcie dual edge tpu A+E

Non will work with updated systems
Minimum python version 3.11 on both systems

Outdated systems are a security break while programming and possible hardware leaks with memory

Well please update all libs and parts to python 3.11

@stakach
Copy link

stakach commented Dec 25, 2023

I could only get v2.8.4 and below working
spider-gazelle/edge-ai#2

hardware is still shipping so I would assume it should still be supported?
and google jamboards have coral devices in them

@feranick
Copy link
Contributor Author

I managed to compile from source an operational version of tflite_runtime v2.11.1 (nothing special about the builds, just followed instructions). Wheels here:

cp310_linux_x86_64

@feranick
Copy link
Contributor Author

Note that Jamboard will be discontinued by the end of 2024.

https://support.google.com/a/answer/13342662?sjid=205795280203553201-NA

@feranick
Copy link
Contributor Author

Thanks very much to @pkgoogle and @Namburger at Google for merging PR. The libedgetpu library is now fully updated, and I hope binaries will be made available soon through the official channel. I am going to close this issue.

Copy link

Are you satisfied with the resolution of your issue?
Yes
No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:thirdparty Thirdparty related issues Hardware:M.2 Accelerator A+E Coral M.2 Accelerator A+E key issues Hardware:M.2 Accelerator B+M Coral M.2 Accelerator B+M key issues Hardware:M.2 Accelerator with dual Edge TPU Coral M.2 Accelerator with Dual Edge TPU issues Hardware:Mini PCIe Coral Mini PCIe Accelerator issues Hardware:USB Accelerator Coral USB Accelerator issues subtype:macOS macOS Build/installation issues subtype:ubuntu/linux Ubuntu/Linux Build/installation issues type:bug Bug type:build/install Build and install issues type:support Support question or issue
Projects
None yet
Development

No branches or pull requests

3 participants