-
Notifications
You must be signed in to change notification settings - Fork 289
AgentQnA - Adding files to deploy an application in the K8S environment using Helm #1793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
chyundunovDatamonsters
wants to merge
37
commits into
opea-project:main
Choose a base branch
from
chyundunovDatamonsters:feature/AgentQnA_k8s
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
cf60682
DocSum - add files for deploy app with ROCm vLLM
1fd1de1
DocSum - fix main
bd2d47e
DocSum - add files for deploy app with ROCm vLLM
2459ecb
DocSum - fix main
4d35065
Merge remote-tracking branch 'origin/main'
6d5049d
DocSum - add files for deploy app with ROCm vLLM
9dfbdc5
DocSum - fix main
a8857ae
DocSum - add files for deploy app with ROCm vLLM
5a38b26
DocSum - fix main
0e2ef94
Merge remote-tracking branch 'origin/main'
30071db
Merge branch 'main' of https://github.com/opea-project/GenAIExamples
0757dec
Merge branch 'opea-project:main' into main
artem-astafev 9aaf378
Merge branch 'main' of https://github.com/opea-project/GenAIExamples
9cf4b6e
Merge branch 'main' of https://github.com/opea-project/GenAIExamples
8e89787
Merge branch 'main' of https://github.com/opea-project/GenAIExamples
a117c69
Merge branch 'main' of https://github.com/opea-project/GenAIExamples
198d50e
AgentQnA - Adding files to deploy an application in the K8S environme…
9bc4a37
AgentQnA - Adding files to deploy an application in the K8S environme…
chyundunovDatamonsters 015faa6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 78e9095
Merge branch 'main' into feature/AgentQnA_k8s
chyundunovDatamonsters 02f4986
Merge branch 'main' of https://github.com/opea-project/GenAIExamples …
chyundunovDatamonsters 62c1c5f
AgentQnA - Adding files to deploy an application in the K8S environme…
chyundunovDatamonsters 834cf04
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2dba72a
AgentQnA - Adding files to deploy an application in the K8S environme…
chyundunovDatamonsters e68e869
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 42e2b0c
AgentQnA - Adding files to deploy an application in the K8S environme…
chyundunovDatamonsters 944e9fd
Merge remote-tracking branch 'origin/feature/AgentQnA_k8s' into featu…
chyundunovDatamonsters 9e42005
AgentQnA - Adding files to deploy an application in the K8S environme…
chyundunovDatamonsters de2fbb5
AgentQnA - Adding files to deploy an application in the K8S environme…
chyundunovDatamonsters 5479cce
AgentQnA - Adding files to deploy an application in the K8S environme…
chyundunovDatamonsters f55d7f9
AgentQnA - Adding files to deploy an application in the K8S environme…
chyundunovDatamonsters 3765a62
AgentQnA - Adding files to deploy an application in the K8S environme…
chyundunovDatamonsters 591115d
Merge branch 'main' into feature/AgentQnA_k8s
chyundunovDatamonsters 7063ba0
Merge branch 'main' into feature/AgentQnA_k8s
mkbhanda 4cadccd
Merge branch 'main' into feature/AgentQnA_k8s
xiguiw 5e55c81
AgentQnA - Adding files to deploy an application in the K8S environme…
chyundunovDatamonsters a3403c7
Merge branch 'main' into feature/AgentQnA_k8s
chensuyue File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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,55 @@ | ||
# Copyright (C) 2025 Advanced Micro Devices, Inc. | ||
|
||
# Accelerate inferencing in heaviest components to improve performance | ||
# by overriding their subchart values | ||
vllm: | ||
enabled: false | ||
tgi: | ||
enabled: true | ||
accelDevice: "rocm" | ||
image: | ||
repository: ghcr.io/huggingface/text-generation-inference | ||
tag: "2.4.1-rocm" | ||
LLM_MODEL_ID: "meta-llama/Meta-Llama-3-8B-Instruct" | ||
MAX_INPUT_LENGTH: "2048" | ||
MAX_TOTAL_TOKENS: "4096" | ||
USE_FLASH_ATTENTION: "false" | ||
FLASH_ATTENTION_RECOMPUTE: "false" | ||
HIP_VISIBLE_DEVICES: "0" | ||
MAX_BATCH_SIZE: "4" | ||
extraCmdArgs: [ "--num-shard","1" ] | ||
resources: | ||
limits: | ||
amd.com/gpu: "1" | ||
requests: | ||
cpu: 1 | ||
memory: 16Gi | ||
securityContext: | ||
readOnlyRootFilesystem: false | ||
runAsNonRoot: false | ||
runAsUser: 0 | ||
capabilities: | ||
add: | ||
- SYS_PTRACE | ||
readinessProbe: | ||
initialDelaySeconds: 60 | ||
periodSeconds: 5 | ||
timeoutSeconds: 1 | ||
failureThreshold: 120 | ||
startupProbe: | ||
initialDelaySeconds: 60 | ||
periodSeconds: 5 | ||
timeoutSeconds: 1 | ||
failureThreshold: 120 | ||
supervisor: | ||
llm_endpoint_url: http://{{ .Release.Name }}-tgi | ||
llm_engine: tgi | ||
model: "meta-llama/Meta-Llama-3-8B-Instruct" | ||
ragagent: | ||
llm_endpoint_url: http://{{ .Release.Name }}-tgi | ||
llm_engine: tgi | ||
model: "meta-llama/Meta-Llama-3-8B-Instruct" | ||
sqlagent: | ||
llm_endpoint_url: http://{{ .Release.Name }}-tgi | ||
llm_engine: tgi | ||
model: "meta-llama/Meta-Llama-3-8B-Instruct" |
This file contains hidden or 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,51 @@ | ||
# Copyright (C) 2025 Advanced Micro Devices, Inc. | ||
|
||
# Accelerate inferencing in heaviest components to improve performance | ||
# by overriding their subchart values | ||
|
||
tgi: | ||
enabled: false | ||
vllm: | ||
enabled: true | ||
accelDevice: "rocm" | ||
image: | ||
repository: opea/vllm-rocm | ||
tag: latest | ||
LLM_MODEL_ID: "meta-llama/Meta-Llama-3-8B-Instruct" | ||
env: | ||
HIP_VISIBLE_DEVICES: "0" | ||
TENSOR_PARALLEL_SIZE: "1" | ||
HF_HUB_DISABLE_PROGRESS_BARS: "1" | ||
HF_HUB_ENABLE_HF_TRANSFER: "0" | ||
VLLM_USE_TRITON_FLASH_ATTN: "0" | ||
VLLM_WORKER_MULTIPROC_METHOD: "spawn" | ||
PYTORCH_JIT: "0" | ||
HF_HOME: "/data" | ||
extraCmd: | ||
command: [ "python3", "/workspace/api_server.py" ] | ||
extraCmdArgs: [ "--swap-space", "16", | ||
"--disable-log-requests", | ||
"--dtype", "float16", | ||
"--num-scheduler-steps", "1", | ||
"--distributed-executor-backend", "mp" ] | ||
resources: | ||
limits: | ||
amd.com/gpu: "1" | ||
startupProbe: | ||
failureThreshold: 180 | ||
securityContext: | ||
readOnlyRootFilesystem: false | ||
runAsNonRoot: false | ||
runAsUser: 0 | ||
supervisor: | ||
llm_endpoint_url: http://{{ .Release.Name }}-vllm | ||
llm_engine: vllm | ||
model: "meta-llama/Meta-Llama-3-8B-Instruct" | ||
ragagent: | ||
llm_endpoint_url: http://{{ .Release.Name }}-vllm | ||
llm_engine: vllm | ||
model: "meta-llama/Meta-Llama-3-8B-Instruct" | ||
sqlagent: | ||
llm_endpoint_url: http://{{ .Release.Name }}-vllm | ||
llm_engine: vllm | ||
model: "meta-llama/Meta-Llama-3-8B-Instruct" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's align the values with GenAIInfra, https://github.com/opea-project/GenAIInfra/pull/975/files#diff-8c465c490b6932f29f8e7222851ed7ec3cf5b183394d47d4ae16e6747ae3a5acR57