Skip to content

Commit

Permalink
Fix TGI-Gaudi Docker Issue (#177)
Browse files Browse the repository at this point in the history
Signed-off-by: letonghan <letong.han@intel.com>
Signed-off-by: lvliang-intel <liang1.lv@intel.com>
Signed-off-by: Yue, Wenjiao <wenjiao.yue@intel.com>
Signed-off-by: chensuyue <suyue.chen@intel.com>
  • Loading branch information
letonghan authored May 25, 2024
1 parent a6b3caf commit 26ae49c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
5 changes: 4 additions & 1 deletion ChatQnA/docker-composer/gaudi/docker_compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,12 @@ services:
environment:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
RUNTIME: habana
HABANA_VISIBLE_DEVICES: all
OMPI_MCA_btl_vader_single_copy_mechanism: none
runtime: habana
cap_add:
- SYS_NICE
ipc: host
command: --model-id ${LLM_MODEL_ID}
llm:
image: opea/gen-ai-comps:llm-tgi-gaudi-server
Expand Down
6 changes: 4 additions & 2 deletions CodeGen/docker-composer/gaudi/docker_compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ services:
environment:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
HUGGINGFACEHUB_API_TOKEN: ${HUGGINGFACEHUB_API_TOKEN}
RUNTIME: habana
HABANA_VISIBLE_DEVICES: all
OMPI_MCA_btl_vader_single_copy_mechanism: none
runtime: habana
cap_add:
- SYS_NICE
ipc: host
command: --model-id ${LLM_MODEL_ID}
llm:
image: opea/gen-ai-comps:llm-tgi-gaudi-server
Expand Down
2 changes: 1 addition & 1 deletion CodeTrans/docker-composer/gaudi/docker_compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ services:
environment:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
RUNTIME: habana
HABANA_VISIBLE_DEVICES: all
OMPI_MCA_btl_vader_single_copy_mechanism: none
runtime: habana
cap_add:
- SYS_NICE
ipc: host
Expand Down
4 changes: 4 additions & 0 deletions DocSum/docker-composer/gaudi/docker_compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ services:
HUGGINGFACEHUB_API_TOKEN: ${HUGGINGFACEHUB_API_TOKEN}
volumes:
- "./data:/data"
runtime: habana
cap_add:
- SYS_NICE
ipc: host
command: --model-id ${LLM_MODEL_ID}
llm:
image: opea/gen-ai-comps:llm-docsum-gaudi-server
Expand Down

0 comments on commit 26ae49c

Please sign in to comment.