fix(ollama): set GPU runtime class name

This commit is contained in:
Masaki Yatsu
2025-12-03 15:55:37 +09:00
parent 6c6f0e5aa1
commit 331659f47f

View File

@@ -1,3 +1,7 @@
{{- if eq .Env.OLLAMA_GPU_ENABLED "true" }}
runtimeClassName: "nvidia"
{{- end }}
ollama: ollama:
gpu: gpu:
enabled: {{ if eq .Env.OLLAMA_GPU_ENABLED "true" }}true{{ else }}false{{ end }} enabled: {{ if eq .Env.OLLAMA_GPU_ENABLED "true" }}true{{ else }}false{{ end }}