-
Notifications
You must be signed in to change notification settings - Fork 82
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
How to build a librwkv.dylib file with "arm64" on Mac M1 #115
Comments
@realcarlos check your toolset and terminal settings. Maybe you running inside rosetta?
|
Thank you @schamane , so cool , now I could get the arm64 one . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
❯ cmake . -DRWKV_CUBLAS=ON
-- Accelerate framework found
-- Could not find nvcc, please set CUDAToolkit_ROOT.
CMake Warning at CMakeLists.txt:125 (message):
cuBLAS not found
-- CMAKE_SYSTEM_PROCESSOR: arm64
-- ARM detected
-- Configuring done (0.2s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/xxx/rwkv.cpp
❯ cmake --build . --config Release
[ 7%] Built target ggml
[ 23%] Built target rwkv
[ 38%] Built target test_ggml_basics
[ 53%] Built target test_tiny_rwkv
[ 69%] Built target test_context_cloning
[ 84%] Built target rwkv_cpu_info
[100%] Built target rwkv_quantize
❯ lipo -info librwkv.dylib
Non-fat file: librwkv.dylib is architecture: x86_64
The text was updated successfully, but these errors were encountered: