Sync value files from GenAIInfra (#1428)
All gaudi values updated with extra flags. Added helm support for 2 new examples Text2Image and SearchQnA. Minor fix for llm-uservice. Signed-off-by: Dolpher Du <dolpher.du@intel.com>
This commit is contained in:
18
Text2Image/kubernetes/helm/README.md
Normal file
18
Text2Image/kubernetes/helm/README.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# Deploy txt2img on Kubernetes cluster
|
||||
|
||||
- You should have Helm (version >= 3.15) installed. Refer to the [Helm Installation Guide](https://helm.sh/docs/intro/install/) for more information.
|
||||
- For more deploy options, refer to [helm charts README](https://github.com/opea-project/GenAIInfra/tree/main/helm-charts#readme).
|
||||
|
||||
## Deploy on Xeon
|
||||
|
||||
```
|
||||
export HFTOKEN="insert-your-huggingface-token-here"
|
||||
helm install txt2img oci://ghcr.io/opea-project/charts/txt2img --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} -f cpu-values.yaml
|
||||
```
|
||||
|
||||
## Deploy on Gaudi
|
||||
|
||||
```
|
||||
export HFTOKEN="insert-your-huggingface-token-here"
|
||||
helm install txt2img oci://ghcr.io/opea-project/charts/txt2img --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} -f gaudi-values.yaml
|
||||
```
|
||||
6
Text2Image/kubernetes/helm/cpu-values.yaml
Normal file
6
Text2Image/kubernetes/helm/cpu-values.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
# Copyright (C) 2025 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
text2image:
|
||||
image:
|
||||
repository: opea/text2image
|
||||
30
Text2Image/kubernetes/helm/gaudi-values.yaml
Normal file
30
Text2Image/kubernetes/helm/gaudi-values.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
# Copyright (C) 2025 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
text2image:
|
||||
accelDevice: "gaudi"
|
||||
image:
|
||||
repository: opea/text2image-gaudi
|
||||
resources:
|
||||
limits:
|
||||
habana.ai/gaudi: 1
|
||||
# The following hugepage related settings is for default MODEL stable-diffusion-v1-5/stable-diffusion-v1-5
|
||||
# User should change the resource limits for other models
|
||||
hugepages-2Mi: 256Mi
|
||||
volumes:
|
||||
- name: hugepage-2mi
|
||||
emptyDir:
|
||||
medium: HugePages-2Mi
|
||||
volumeMounts:
|
||||
- name: hugepage-2mi
|
||||
mountPath: /hugepages-2Mi
|
||||
OMPI_MCA_btl_vader_single_copy_mechanism: "none"
|
||||
readinessProbe:
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 1
|
||||
startupProbe:
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 120
|
||||
Reference in New Issue
Block a user