-
Notifications
You must be signed in to change notification settings - Fork 65
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
libedgetpu library Build is failing #58
Comments
Updated builds and repo available here: |
The official repo has been updated. Please try again, should work now. |
got similiar error code on tensorflow 2.17
|
What are you targeting with this build? Ubuntu 22.04? Debian? Else? Most of the errors point to a problem accessing repos. |
oh yea sorry man, i'm still new on these both linux system and edge devices, maybe is there something i need to do first ? |
You are compiling with the wrong architecture (k8 is x86_64, you need aarch64) and OS (debian bookworm, not ubuntu 22.04). Try:
|
Or, since I am assuming you are compiling this on the Rpi directly, you can use Bazel directly, as stated on the README.md file. |
Prebuilt debs are available in my fork: https://github.com/feranick/libedgetpu/releases/tag/16.0TF2.17.0-1 |
Oh yeah, sorry about that. I understand now what the README.md file means. I was mindlessly copying both commands, but I should choose one instead. Thank you! 👌 |
If that works, please feel free to close this issue. |
got another error after install after install bazel, the error says
|
Are you running it within docker?
|
You are using a version of bazel that is not for aarch64. Are you compiling directly on the RPi? If so there is no version of bazel for aarch64/linux for whatever reason. I'd recommend you try to use a x86_64 system and run docker from there for your architecture (which is what I usually do), or use prebuilt libraries (URL above). |
sorry for error before, i'm trying another approach by using bazel to compile directly to the RPI4 |
To be clear: you don't need docker to run the library, only to compile it. Unless you care specifically to do the compilation yourself (which may be challenging on the Pi itself), I'd recommend you install the library binaries from here (my forked repo, which basically gives you the latest binaries): https://github.com/feranick/libedgetpu/releases/tag/16.0TF2.17.0-1 You need to download the version you need (standard or max, see official documentation, usually standard is fine) and install it;
|
ahhh i see thanks man so it means no need to build by my own right ? and also what is the different may i ask ? |
You don't need to build your own. There is no difference in what I build and how it is indicated in the official site. If you are referring to max vs std, one pushes the edgetpu to the max frequency, with possible overheating, while the other has lower thermal ceilings. |
also
i'm not start this issue but may i close this ? |
Ah, sorry, I thought you started it... |
Description
Ign:11 http://deb.debian.org/debian stretch/main arm64 Packages
Ign:12 http://deb.debian.org/debian stretch/main all Packages
Ign:13 http://deb.debian.org/debian stretch-updates/main all Packages
Ign:14 http://deb.debian.org/debian stretch-updates/main armhf Packages
Ign:15 http://deb.debian.org/debian stretch-updates/main arm64 Packages
Err:10 http://deb.debian.org/debian stretch/main armhf Packages
404 Not Found
Ign:11 http://deb.debian.org/debian stretch/main arm64 Packages
Ign:12 http://deb.debian.org/debian stretch/main all Packages
Ign:13 http://deb.debian.org/debian stretch-updates/main all Packages
Err:14 http://deb.debian.org/debian stretch-updates/main armhf Packages
404 Not Found
Ign:15 http://deb.debian.org/debian stretch-updates/main arm64 Packages
Reading package lists...
W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-armhf/Packages 404 Not Found [IP: 151.101.2.132 80]
E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-armhf/Packages 404 Not Found
E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-armhf/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y libc6-dev:arm64 libc6-dev:armhf && DEBIAN_FRONTEND=noninteractive apt-get install -y python3-all python3-numpy build-essential crossbuild-essential-armhf crossbuild-essential-arm64 libusb-1.0-0-dev libusb-1.0-0-dev:arm64 libusb-1.0-0-dev:armhf zlib1g-dev zlib1g-dev:armhf zlib1g-dev:arm64 sudo debhelper pkg-config zip unzip curl wget git tree software-properties-common $(grep Ubuntu /etc/os-release > /dev/null && echo vim-common || echo xxd)' returned a non-zero code: 100
Click to expand!
Issue Type
Build/Install
Operating System
Ubuntu
Coral Device
No response
Other Devices
No response
Programming Language
No response
Relevant Log Output
No response
The text was updated successfully, but these errors were encountered: