Skip to content

Commit

Permalink
fix: helm template evluation for whisper GPU_REQUEST envvar (#859)
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Perry <yrrepnoj@gmail.com>
  • Loading branch information
YrrepNoj committed Jul 31, 2024
1 parent 4e8092a commit 5320890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/whisper/chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
protocol: TCP
env:
- name: GPU_REQUEST
value: "{{ (index .Values.resources.requests "nvidia.com/gpu") | default "0" }}"
value: "{{ (index .Values.resources.limits "nvidia.com/gpu") | default "0" }}"
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down

0 comments on commit 5320890

Please sign in to comment.