Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/tei/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.6.0
version: 1.7.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/tei/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ nodeSelector: {} # Node selector
affinity: {} # Affinity configuration
tolerations: [] # Tolerations
topologySpreadConstraints: [] # Topology spread constraints
runtimeClassName: "" # Pod runtime class, e.g. "nvidia" for GPU nodes
extraEnv: [] # Additional environment variables
```

Expand All @@ -71,6 +72,7 @@ modelId: "BAAI/bge-large-en-v1.5"
image:
repository: ghcr.io/huggingface/text-embeddings-inference
tag: 1.6 # GPU version
runtimeClassName: nvidia # Required when the cluster schedules GPUs via a non-default runtime
resources:
limits:
nvidia.com/gpu: 1 # Allocate 1 GPU
Expand Down
3 changes: 3 additions & 0 deletions charts/tei/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "tei.serviceAccountName" . }}
{{- with .Values.runtimeClassName }}
runtimeClassName: {{ . }}
{{- end }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
Expand Down
3 changes: 3 additions & 0 deletions charts/tei/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ nodeSelector: {}
affinity: {}
tolerations: []
topologySpreadConstraints: []
# RuntimeClass to use for the pod, e.g. "nvidia" when running the GPU image on nodes
# with the NVIDIA device plugin. Leave empty to use the default runtime.
runtimeClassName: ""
extraEnv: []


Expand Down