You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried with above steps and it works fine. I was cloning from the latest source code and using:
cd helm-charts
helm dependency update visualqna
helm install vqna visualqna --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} --set global.modelUseHostPath=${MODELDIR}
Could you double check or paste your detailed steps here?
$ curl http://localhost:8888/v1/visualqna -H "Content-Type: application/json" -d '{"messages": [{"role": "user", "content": [{"type": "text","text": "What is in this image?"}, {"type": "image_url", "image_url": {"url": "https://www.ilankelman.org/stopsigns/australia.jpg"}}]}], "max_tokens": 300}'
{"id":"chatcmpl-zVFBLPsnL3eCdhnmgh9gKa","object":"chat.completion","created":1734595828,"model":"visualqna","choices":[{"index":0,"message":{"role":"assistant","content":"The image shows a stop sign at the entrance of a traditional Chinese archway, which is likely part of a Chinatown in a city. A black car is driving through the archway, and there are people walking around the area. The architecture and decorations suggest a cultural and historical significance, possibly attracting tourists and locals alike. "},"finish_reason":"stop","metadata":null}],"usage":{"prompt_tokens":0,"total_tokens":0,"completion_tokens":0}}
Priority
P2-High
OS type
Ubuntu
Hardware type
Gaudi2
Installation method
Deploy method
Running nodes
Single Node
What's the version?
NA
Description
Getting "Internal Server Error" while accessing VisualQnA using API
Reproduce steps
Deploy Visual QnA and access the APIs using curl command as per below instructions:
kubectl port-forward svc/visualqna 8888:8888
curl http://localhost:8888/v1/visualqna
-H "Content-Type: application/json"
-d '{"messages": [{"role": "user", "content": [{"type": "text","text": "What is in this image?"}, {"type": "image_url", "image_url": {"url": "https://www.ilankelman.org/stopsigns/australia.jpg"}}]}], "max_tokens": 300}'
Raw log
The text was updated successfully, but these errors were encountered: