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

arm64 on Github Actions #2

Open
richardburleigh opened this issue Oct 18, 2022 · 5 comments
Open

arm64 on Github Actions #2

richardburleigh opened this issue Oct 18, 2022 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@richardburleigh
Copy link

Really nice work on this repo!

I've been trying to get Github Actions working on my fork, but no matter what cmake arguments I add, it always generates an x86 wheel.

How did you manage to generate arm builds?

@cansik
Copy link
Owner

cansik commented Oct 28, 2022

I built the wheels on my developer device. Even it is possible to build arm64 binaries on intel architecture macs, it is difficult. What could possibly work is to change the CC variable to CC='clang -arch=arm64' before building, but I have not tried it yet.

@cansik cansik self-assigned this Oct 28, 2022
@cansik cansik added the enhancement New feature or request label Oct 28, 2022
@ilya-lavrenov
Copy link

You can currently try to build OpenVINO's 2022.3 branch with -DCMAKE_OSX_ARCHITECTURES=arm64 . and it should perform all magic

@cansik
Copy link
Owner

cansik commented Dec 16, 2022

@ilya-lavrenov Thanks, I will give it a try. Is building an universal binary possible as well?

@ilya-lavrenov
Copy link

No, since ARM plug-in consists of NEON which can not be compiled for x86

@thusinh1969
Copy link

I compiled Openvino Arm successfully on Raspberry PI 4 and Orange PI and after a little sweating it ran OK, but the performance is terrible on Raspberry PI 4 (4G) vs i3/4G. On the new Orange PI 5 (8G) it is better but only 1/3 the performance of NUC i3 (Ubuntu) which is nearly the same price. ARM needs a lot of boosts to match Intel CPU. In the meanwhile, has anyone tried the NVIDIA plugin for Openvino? I tried with Jetson Nano without any luck keep asking for CUDART etc.

Thanks for the pip repo anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants