Skip to content

Commit d0b4b47

Browse files
committed
tgi: Fix permission issue of non-root user
Fix issue #639 Signed-off-by: Lianhao Lu <[email protected]>
1 parent d1cccf8 commit d0b4b47

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

helm-charts/common/tgi/templates/configmap.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ data:
1919
no_proxy: {{ .Values.global.no_proxy | quote }}
2020
{{- if contains "tgi-gaudi" .Values.image.repository }}
2121
HABANA_LOGS: "/tmp/habana_logs"
22+
TRITON_CACHE_DIR: "/tmp/triton_cache"
2223
{{- end }}
2324
NUMBA_CACHE_DIR: "/tmp"
2425
HF_HOME: "/tmp/.cache/huggingface"

helm-charts/common/tgi/templates/deployment.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ spec:
100100
name: shm
101101
- mountPath: /tmp
102102
name: tmp
103+
- mountPath: /usr/src/out
104+
name: tokenizer
103105
ports:
104106
- name: http
105107
containerPort: {{ .Values.port }}
@@ -136,6 +138,8 @@ spec:
136138
sizeLimit: {{ .Values.shmSize }}
137139
- name: tmp
138140
emptyDir: {}
141+
- name: tokenizer
142+
emptyDir: {}
139143
{{- with .Values.nodeSelector }}
140144
nodeSelector:
141145
{{- toYaml . | nindent 8 }}

0 commit comments

Comments
 (0)