-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Make build failing on Apple silicon - macbook m2 pro #411
Comments
Hi @devilankur18 , thanks for your feedback. I am not sure if this is bug, I build it in M1 without any issue before. So, please investigate it further. And I saw you pick up a commit with a dependency update. May you try to build the main branch in your local env? |
@Aisuko I stared with master branch only, when it failed I tried falling back to older versions. |
I also have this problem on my M1 Pro Macbook |
Hi, guys. I hit the issue of the building process in my (arrch64) container environment #282 (comment) but I did not hit the issue on my laptop(M1). May you guys try to use the x86_64 environment? Github Codespace is pretty ok, I use it as the built environment. |
Please use And resetting every binding packages's changes by using And you can use |
This issue may be caused by the loaded sub-project: https://github.com/donomii/go-rwkv.cpp. When using the project's built-in compilation script: ./build-mac.sh, it fails to compile on my Macbook M1 Pro. Has anyone been able to successfully compile it? |
I don't have a macOS, and the CI seems to pass for MacOS reducing my possibilities to test it. Can you see if you can compile https://github.com/saharNooby/rwkv.cpp? The issue seems to come from there. would be great to open an issue to rwkv.cpp too |
this is the fix https://github.com/saharNooby/rwkv.cpp/blob/a8ebb07d2501dcb6fd544177022421660537030f/rwkv.cpp#L20-L36 and should be merged in a day or two |
Thank you so much @LoganDark ! ping @donomii chance to include RWKV/rwkv.cpp#74 in go-rwkv.cpp anytime soon ? |
I'll do it later today |
LocalAI version:
728f297
Environment, CPU architecture, OS, and Version:
arm64(mac m2 pro) Ventura 13.3.1
Describe the bug
make build failing for mac m2 pro,
To Reproduce
git clone the repo
make build
on mac m2 proExpected behavior
build should not fail
Logs
Additional context
The text was updated successfully, but these errors were encountered: