RWKV / rwkv.cpp

INT4/INT5/INT8 and FP16 inference on CPU for RWKV language model
MIT License
1.4k stars 92 forks source link

How can i build android rwkv.cpp? #57

Closed xiaol closed 1 year ago

xiaol commented 1 year ago

Thank you for this promising work,

like this one https://github.com/ggerganov/llama.cpp#android


I have compiled with linux instructions ,and everything seems ok, but when i run python file, this error occured:

Screenshot_2023-05-13-20-19-08-553_com termux

saharNooby commented 1 year ago

The script can not find compiled library file. Look for newly created .so files in the repository directory, then specify path to the file explicitly at this line.

You can also try asking for help in rwkv-cpp channel in RWKV Discord, I saw people there running rwkv.cpp on Android.

xiaol commented 1 year ago

Screenshot_2023-05-13-20-53-55-830_com.termux.jpg

.so is there,that's odd.

yes,i find that guy who make it work in discord, i'll add more info here,he has a different approach.