Open yuehengwu opened 1 year ago
hello, how did you fix it, what needs to be modify, can you please provide guidance
🐛 Bug
To Reproduce
In the DoctorGPT project, following the compilation documentation for mlc-llm, I get an error when executing the script.
sh ./prepare_libs.sh
Traceback (most recent call last): File "/Users/wyh/Desktop/Programs/DoctorGPT/ios/prepare_model_lib.py", line 29, in <module> main() File "/Users/wyh/Desktop/Programs/DoctorGPT/ios/prepare_model_lib.py", line 19, in main raise RuntimeError( RuntimeError: Cannot find lib for rwkv-raven-3b-q4f16_2 in the following candidate path: ['/Users/wyh/Desktop/Programs/DoctorGPT/dist/rwkv-raven-3b-q4f16_2/rwkv-raven-3b-q4f16_2-iphone.tar', '/Users/wyh/Desktop/Programs/DoctorGPT/dist/prebuilt/lib/rwkv-raven-3b-q4f16_2-iphone.tar']
But after I modified /ios/MLCChat/app-config.json, the prepare_libs.sh script executed successfully, and Xcode was able to compile successfully.
However, the program crashes when running.
hello, how did you fix it, what needs to be modify, can you please provide guidance
hello, how did you fix it, what needs to be modify, can you please provide guidance
I didn't fix it. I can just compile success it in Xcode, but it will crash after running it.
What did you change in /ios/MLCChat/app-config.json, the prepare_libs.sh script?
What did you change in /ios/MLCChat/app-config.json, the prepare_libs.sh script?
I did not modify the prepare_libs.sh file and I changed app-config.json to the following code because rwkv-raven-3b-q4f16_2 was not found
What did you change in /ios/MLCChat/app-config.json, the prepare_libs.sh script?
I did not modify the prepare_libs.sh file and I changed app-config.json to the following code because rwkv-raven-3b-q4f16_2 was not found
Thank you. I got it.
🐛 Bug
To Reproduce
In the DoctorGPT project, following the compilation documentation for mlc-llm, I get an error when executing the script.
But after I modified /ios/MLCChat/app-config.json, the prepare_libs.sh script executed successfully, and Xcode was able to compile successfully.
However, the program crashes when running.