-
Notifications
You must be signed in to change notification settings - Fork 215
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
Translation example does not work #1346
Comments
Hi ShankarRIntel, Thank you a lot for reporting those issue! We will investigate them. As we are refactoring the code, maybe bring some unknow issues. From the error message: Could you please help to get some check information by command
To download the llm model may need some times as and if possible, check OPEA version: Thanks |
Hi @ShankarRIntel , Any updates about your machine configuration (like networks for LLM downloads, Gaudi driver etc) and the examples? For your reference, in order to show how the OPEA example works, we release some videos on the AI Software Catalog: https://aiswcatalog.intel.com/explore: thanks |
LLM downloads seem to be fine, Gaudi driver is v 1.19. I need all the below examples to be working on Gaudi.
Thanks
Shankar
From: Ying Hu ***@***.***>
Sent: Wednesday, January 8, 2025 5:10 PM
To: opea-project/GenAIExamples ***@***.***>
Cc: Ratneshwaran, Shankar ***@***.***>; Mention ***@***.***>
Subject: Re: [opea-project/GenAIExamples] Translation example does not work (Issue #1346)
Hi @ShankarRIntel<https://github.com/ShankarRIntel> ,
Any updates about your machine configuration (like networks for LLM downloads, Gaudi driver etc) and the examples?
For your reference, in order to show how the OPEA example works, we release some videos on the AI Software Catalog: https://aiswcatalog.intel.com/explore:
• Code Generation: Intel® AI SW Catalog<https://aiswcatalog.intel.com/solution/aimodel-ed3df895-69e0-45fc-8c13-caf2c85f8e11>
• Audio Q&A: Intel® AI SW Catalog<https://aiswcatalog.intel.com/solution/aimodel-2777c70c-491f-4466-866f-4265d345a985>
• Visual Q&A: Intel® AI SW Catalog<https://aiswcatalog.intel.com/solution/aimodel-1453a049-fcf7-40e4-8fa1-7e609d31a541>
• Code Translation: Intel® AI SW Catalog<https://aiswcatalog.intel.com/solution/aimodel-ed3df895-69e0-45fc-8c13-caf2c85f8e11>
• Content Summarization: Intel® AI SW Catalog<https://aiswcatalog.intel.com/solution/aimodel-3b3f72e8-e27e-4574-b509-515d6b63ed8e>
• Chat Q&A: https://aiswcatalog.intel.com/solution/aimodel-18c8e8c2-31d1-4af4-b0a2-ab8613a3c3b9
And FAQ Gen and Multi-Lingual QnA will available soon
thanks
—
Reply to this email directly, view it on GitHub<#1346 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AYMDOKYXERKZ22OIURHBNET2JXD6VAVCNFSM6AAAAABUSYA4OOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZYHE4TKMBXGU>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
Hi ShankarRIntel , I will contact you by team and let's try them. thank you! |
I built docker image from source code, I run Translation on Gaud2 1.19 successfully. Did you pull docker image 1.1 or build docker images from source code? Please kindly provide the logs. Thanks! From you logs, the docker start in seconds.
Her are my test environment:
|
Priority
P1-Stopper
OS type
Ubuntu
Hardware type
Gaudi2
Installation method
Deploy method
Running nodes
Single Node
What's the version?
1.1
Description
Translation example does not work after all the servers are up after docker compose
Reproduce steps
sratnesh@fm2r81s1gaudi:
/workspace/GenAIExamples/Translation/docker_compose/intel/hpu/gaudi$ docker compose up -d/workspace/GenAIExamples/Translation/docker_compose/intel/hpu/gaudi$ curl http://${host_ip}:8008/generate[+] Running 6/6
✔ Network gaudi_default Created 0.2s
✔ Container tgi-gaudi-server Started 1.4s
✔ Container llm-tgi-gaudi-server Started 1.9s
✔ Container translation-gaudi-backend-server Started 2.3s
✔ Container translation-gaudi-ui-server Started 2.7s
✔ Container translation-gaudi-nginx-server Started 3.2s
sratnesh@fm2r81s1gaudi:
-X POST
-d '{"inputs":"What is Deep Learning?","parameters":{"max_new_tokens":64, "do_sample": true}}'
-H 'Content-Type: application/json'
curl: (7) Failed to connect to 192.168.1.11 port 8008 after 0 ms: Connection refused
sratnesh@fm2r81s1gaudi:
/workspace/GenAIExamples/Translation/docker_compose/intel/hpu/gaudi$ curl http://${host_ip}:9000/v1/chat/completions/workspace/GenAIExamples/Translation/docker_compcurl http://${host_ip}:8888/v1/translation -H "Content-Type: application/json" -d '{plication/json" -d '{-X POST
-d '{"query":"Translate this from Chinese to English:\nChinese: 我爱机器翻译。\nEnglish:"}'
-H 'Content-Type: application/json'
Internal Server Errorsratnesh@fm2r81s1gaudi:
"language_from": "Chinese","language_to": "English","source_language": "我爱机器翻译。"}'
sratnesh@fm2r81s1gaudi:
/workspace/GenAIExamples/Translation/docker_compose/intel/hpu/gaudi$ curl http://${host_ip}:${NGINX_PORT}/v1/translation/workspace/GenAIExamples/Translation/docker_compose/intel/hpu/gaudi$-H "Content-Type: application/json"
-d '{"language_from": "Chinese","language_to": "English","source_language": "我爱机器翻译。"}'
sratnesh@fm2r81s1gaudi:
Raw log
The text was updated successfully, but these errors were encountered: