Skip to content

Commit 7a8ce15

Browse files
authored
Merge pull request #56 from stackhpc/fix/mistral-tokenizer
Default to mistral tokenizer for mistral models
2 parents 3d6c6ea + 4e28893 commit 7a8ce15

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ spec:
3434
- --max-model-len
3535
- {{ .Values.api.modelMaxContextLength | quote }}
3636
{{- end -}}
37+
{{- if and (not (has "--tokenizer-model" .Values.api.extraArgs)) (hasPrefix "mistralai/" .Values.huggingface.model) -}}
38+
- --tokenizer-mode
39+
- mistral
40+
{{- end -}}
3741
{{- if .Values.api.extraArgs -}}
3842
{{- .Values.api.extraArgs | toYaml | nindent 10 }}
3943
{{- end -}}

0 commit comments

Comments
 (0)