-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add helm deployment instructions for codegen (#1351)
Signed-off-by: Dolpher Du <[email protected]>
- Loading branch information
1 parent
2311787
commit 5638075
Showing
15 changed files
with
73 additions
and
1,482 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Deploy CodeGen 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 codegen oci://ghcr.io/opea-project/charts/codegen --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} -f cpu-values.yaml | ||
``` | ||
|
||
## Deploy on Gaudi | ||
|
||
``` | ||
export HFTOKEN="insert-your-huggingface-token-here" | ||
helm install codegen oci://ghcr.io/opea-project/charts/codegen --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} -f gaudi-values.yaml | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
image: | ||
repository: opea/codegen | ||
tag: "latest" | ||
|
||
tgi: | ||
LLM_MODEL_ID: Qwen/Qwen2.5-Coder-7B-Instruct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
tgi: | ||
accelDevice: "gaudi" | ||
LLM_MODEL_ID: Qwen/Qwen2.5-Coder-7B-Instruct | ||
image: | ||
repository: ghcr.io/huggingface/tgi-gaudi | ||
tag: "2.0.6" | ||
resources: | ||
limits: | ||
habana.ai/gaudi: 1 | ||
MAX_INPUT_LENGTH: "1024" | ||
MAX_TOTAL_TOKENS: "2048" | ||
CUDA_GRAPHS: "" | ||
livenessProbe: | ||
initialDelaySeconds: 5 | ||
periodSeconds: 5 | ||
timeoutSeconds: 1 | ||
readinessProbe: | ||
initialDelaySeconds: 5 | ||
periodSeconds: 5 | ||
timeoutSeconds: 1 | ||
startupProbe: | ||
initialDelaySeconds: 5 | ||
periodSeconds: 5 | ||
timeoutSeconds: 1 | ||
failureThreshold: 120 |
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
CodeGen/kubernetes/intel/cpu/xeon/manifest/README_react_ui.md
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.