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
4 changes: 4 additions & 0 deletions helm-charts/common/whisper/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ type: application
version: 0-latest
# The whisper microservice server version
appVersion: "v1.0"
dependencies:
- name: commonlib
version: 0-latest
repository: "file://../commonlib"
6 changes: 2 additions & 4 deletions helm-charts/common/whisper/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ spec:
{{- include "whisper.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- include "common.annotations" . | nindent 6 }}
labels:
{{- include "whisper.selectorLabels" . | nindent 8 }}
spec:
{{- include "common.runtimeClassName" . | indent 6 }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/whisper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ tolerations: []

affinity: {}

tdxEnabled: false

global:
http_proxy: ""
https_proxy: ""
Expand Down
3 changes: 3 additions & 0 deletions helm-charts/docsum/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ dependencies:
version: 0-latest
repository: "file://../common/nginx"
condition: nginx.enabled
- name: commonlib
version: 0-latest
repository: "file://../common/commonlib"
version: 0-latest
appVersion: "v1.0"
2 changes: 2 additions & 0 deletions helm-charts/docsum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ helm install docsum docsum --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} --se
# helm install docsum docsum --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} --values docsum/gaudi-tgi-values.yaml ...
# To use Gaudi device with vLLM
# helm install docsum docsum --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} --values docsum/gaudi-vllm-values.yaml ..
# To run docsum with Intel TDX feature
# helm install docsum docsum --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} --set tgi.LLM_MODEL_ID=${MODELNAME} --set tdxEnabled=true --set resources.limits.memory=1Gi --set docsum-ui.tdxEnabled=true --set docsum-ui.resources.limits.memory=2Gi --set llm-uservice.tdxEnabled=true --set llm-uservice.resources.limits.memory=4Gi --set tgi.tdxEnabled=true --set tgi.resources.limits.memory=80Gi --set whisper.tdxEnabled=true --set whisper.resources.limits.memory=13Gi
```

## Verify
Expand Down
6 changes: 2 additions & 4 deletions helm-charts/docsum/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@ spec:
app: {{ include "docsum.fullname" . }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- include "common.annotations" . | nindent 6 }}
labels:
{{- include "docsum.selectorLabels" . | nindent 8 }}
app: {{ include "docsum.fullname" . }}
spec:
{{- include "common.runtimeClassName" . | indent 6 }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/docsum/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ docsum-ui:
dashboard:
prefix: "OPEA DocSum"

tdxEnabled: false

global:
http_proxy: ""
https_proxy: ""
Expand Down