-
Notifications
You must be signed in to change notification settings - Fork 100
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
Apple Silicon : mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64') #59
Comments
same issues |
I get similar problem even without that warning.
Then:
I have Mac with non-intel CPU. Somehow the build-scripts detects ARM64 but when running assumes x86. |
My problem was that my conda environment used an x86 python while the compiler did compile for arm64. Replacing the conda environment with an arm64 worked. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because instruction for Apple silicon in Readme.md has been applied, CMAKE_SYSTEM_PROCESSOR from
cmake .
appears arm64.But, there is warning as below for
cmake .
Furthermore, below error occurs for
python rwkv/generate_completions.py /my/path/rwkv.cpp/models/rwkv-4-raven/ggml-model-q5_1.bin
For your reference, similar error for llama-cpp-python was solved with
arch -arm64 pip install llama-cpp-python --no-cache-dir
It might be similar solution mentioned in above github link from warning.
Additionally,
arch -arm64 cmake .
andarch -arm64 cmake --build . --config Release
were not valid.The text was updated successfully, but these errors were encountered: