Skip to content

Commit 0ef9bb0

Browse files
committed
cast gpu counts
1 parent 96bd4ae commit 0ef9bb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

charts/azimuth-llm/templates/api/deployment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ spec:
4747
{{- if .Values.api.extraArgs -}}
4848
{{- .Values.api.extraArgs | toYaml | nindent 10 }}
4949
{{- end -}}
50-
{{- if gt .Values.api.gpus 1 }}
50+
{{- if gt (.Values.api.gpus | int) 1 }}
5151
- --tensor-parallel-size
52-
- {{ .Values.api.gpus }}
52+
- {{ (.Values.api.gpus | int) }}
5353
{{- end }}
5454
{{- if .Values.huggingface.secretName -}}
5555
envFrom:

0 commit comments

Comments
 (0)