Skip to content

Commit

Permalink
Only set HABANA_LOGS env in gaudi case (#567)
Browse files Browse the repository at this point in the history
Signed-off-by: Lianhao Lu <[email protected]>
  • Loading branch information
lianhao authored Nov 15, 2024
1 parent 87dc673 commit 8c4a698
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions helm-charts/common/tgi/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ data:
http_proxy: {{ .Values.global.http_proxy | quote }}
https_proxy: {{ .Values.global.https_proxy | quote }}
no_proxy: {{ .Values.global.no_proxy | quote }}
{{- if contains "tgi-gaudi" .Values.image.repository }}
HABANA_LOGS: "/tmp/habana_logs"
{{- end }}
NUMBA_CACHE_DIR: "/tmp"
HF_HOME: "/tmp/.cache/huggingface"
{{- if .Values.MAX_INPUT_LENGTH }}
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/vllm/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ data:
http_proxy: {{ .Values.global.http_proxy | quote }}
https_proxy: {{ .Values.global.https_proxy | quote }}
no_proxy: {{ .Values.global.no_proxy | quote }}
{{- if contains "opea/vllm-hpu" .Values.image.repository }}
HABANA_LOGS: "/tmp/habana_logs"
{{- end }}
NUMBA_CACHE_DIR: "/tmp"
HF_HOME: "/tmp/.cache/huggingface"
# https://github.com/outlines-dev/outlines/blob/main/outlines/caching.py#L14-L29
Expand Down
1 change: 0 additions & 1 deletion microservices-connector/config/manifests/tgi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ data:
http_proxy: ""
https_proxy: ""
no_proxy: ""
HABANA_LOGS: "/tmp/habana_logs"
NUMBA_CACHE_DIR: "/tmp"
HF_HOME: "/tmp/.cache/huggingface"
CUDA_GRAPHS: "0"
Expand Down
1 change: 0 additions & 1 deletion microservices-connector/config/manifests/tgi_nv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ data:
http_proxy: ""
https_proxy: ""
no_proxy: ""
HABANA_LOGS: "/tmp/habana_logs"
NUMBA_CACHE_DIR: "/tmp"
HF_HOME: "/tmp/.cache/huggingface"
HF_HUB_DISABLE_PROGRESS_BARS: "1"
Expand Down
1 change: 0 additions & 1 deletion microservices-connector/config/manifests/vllm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ data:
http_proxy: ""
https_proxy: ""
no_proxy: ""
HABANA_LOGS: "/tmp/habana_logs"
NUMBA_CACHE_DIR: "/tmp"
HF_HOME: "/tmp/.cache/huggingface"
# https://github.com/outlines-dev/outlines/blob/main/outlines/caching.py#L14-L29
Expand Down

0 comments on commit 8c4a698

Please sign in to comment.