How to Expose LLaVA Model via REST API? #434
Abhijithm2447
started this conversation in
Show and tell
Replies: 2 comments
-
Hi Team, Please let me know how to give prompt with the above python interface? A quick response is appreciated. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm writing to you because I'd like to create a program that can analyze images imported into the same program, so that the latter can draw conclusions. Have a nice day. Best regards, Willie WIMS |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have successfully run the following code to serve a model using LLaVA's CLI:
CUDA_VISIBLE_DEVICES=0 python3 -m llava.serve.cli \ --model-path liuhaotian/LLaVA-Lightning-MPT-7B-preview \ --image-file "https://llava-vl.github.io/static/images/view.jpg"
Now, I want to expose this model through a REST API so that I can make predictions programmatically. How can I achieve this?
I would appreciate any guidance on setting up a REST API for serving this LLaVA model.
Beta Was this translation helpful? Give feedback.
All reactions