Skip to content

Commit

Permalink
Workaround for llm-uservice model ID inconsistency
Browse files Browse the repository at this point in the history
Otherwise "llm-uservice" throws an exception due to None variable
value, or vLLM returns error due to unrecognized model ID.

Signed-off-by: Eero Tamminen <[email protected]>
  • Loading branch information
eero-t committed Dec 30, 2024
1 parent 590991b commit 8d5a76a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm-charts/common/llm-uservice/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ data:
vLLM_ENDPOINT: "http://{{ .Release.Name }}-vllm"
{{- end }}
{{- if .Values.LLM_MODEL_ID }}
# llm-uservice text gen (ChatQnA) variant
LLM_MODEL: {{ .Values.LLM_MODEL_ID | quote}}
# llm-uservice DocSum & FaqGen variants
LLM_MODEL_ID: {{ .Values.LLM_MODEL_ID | quote}}
{{- end }}
HUGGINGFACEHUB_API_TOKEN: {{ .Values.global.HUGGINGFACEHUB_API_TOKEN | quote}}
HF_HOME: "/tmp/.cache/huggingface"
Expand Down

0 comments on commit 8d5a76a

Please sign in to comment.