-
Notifications
You must be signed in to change notification settings - Fork 537
LlaVA Model Loads Sucessfully Failing inference app crashes after image i/p adding logs for Reference #9233
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
Comments
Hi @Vinaysukhesh98 does this work with LLAVA runner binary? https://github.com/pytorch/executorch/blob/main/examples/models/llava/runner/CMakeLists.txt#L41 |
./cmake-out/examples/models/llava/llava_main -model_path '/home//Documents/llava.pte' -tokenizer_path '/home/mbuhyd/Documents/llava_tokenizer.bin' -image_path '/home//Documents/llavademo2.jpg' -prompt "Describe the image" Aborted |
@larryliu0820 Do you have any suggestions for how to proceed? If you're not the right person, feel free to let me know and we can find the right owner. |
Hi @Vinaysukhesh98 we can't read an jpeg image directly. Consider using https://github.com/pytorch/executorch/blob/main/examples/models/llava/image_util.py#L9 to convert it to a format that can be consumed by llava_runner. |
🐛 Describe the bug
Application Crashes after i/p of image on MI15 device find logs below :
Discord message link : https://discord.com/channels/1334270993966825602/1336777807509979188/1349588357612568577
Versions
Application Crashes after i/p of image on MI15 device
cc @larryliu0820 @mergennachin @cccclai @helunwencser @jackzhxng
The text was updated successfully, but these errors were encountered: