feat(common): Force nvidia driver capabilities to all when gpu is selected (#2023)

This commit is contained in:
Stavros Kois
2022-03-04 10:32:16 +01:00
committed by GitHub
parent dca13a9bd1
commit 4100f10be7
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -15,4 +15,4 @@ maintainers:
name: common name: common
sources: null sources: null
type: library type: library
version: 9.0.0 version: 9.0.1
@@ -65,6 +65,9 @@
{{- if not ( .Values.scaleGPU ) }} {{- if not ( .Values.scaleGPU ) }}
- name: NVIDIA_VISIBLE_DEVICES - name: NVIDIA_VISIBLE_DEVICES
value: "void" value: "void"
{{- else }}
- name: NVIDIA_DRIVER_CAPABILITIES
value: "all"
{{- end }} {{- end }}
- name: TZ - name: TZ
value: {{ .Values.TZ | quote }} value: {{ .Values.TZ | quote }}