-
Notifications
You must be signed in to change notification settings - Fork 98
Add vLLM support to DocSum Helm chart #649
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,10 @@ export HFTOKEN="insert-your-huggingface-token-here" | |
export MODELDIR="/mnt/opea-models" | ||
export MODELNAME="Intel/neural-chat-7b-v3-3" | ||
helm install docsum docsum --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} --set global.modelUseHostPath=${MODELDIR} --set tgi.LLM_MODEL_ID=${MODELNAME} | ||
# To use Gaudi device | ||
# helm install docsum docsum --set global.HUGGINGFACEHUB_API_TOKEN=${HFTOKEN} --values docsum/gaudi-values.yaml | ||
# To use Gaudi device with TGI | ||
# 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 .. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For consistency, your change should be done for all READMEs in this repo, not just this particular one => IMHO it's out of scope for this PR. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Agree that READMEs need to be updated together. |
||
``` | ||
|
||
## Verify | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gaudi-tgi-values.yaml |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
gaudi-vllm-values.yaml |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright (C) 2025 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Accelerate inferencing in heaviest components to improve performance | ||
# by overriding their subchart values | ||
|
||
tgi: | ||
enabled: false | ||
|
||
llm-uservice: | ||
DOCSUM_BACKEND: "vLLM" | ||
|
||
vllm: | ||
enabled: true | ||
image: | ||
repository: opea/vllm-gaudi | ||
tag: "latest" | ||
resources: | ||
limits: | ||
habana.ai/gaudi: 1 | ||
startupProbe: | ||
initialDelaySeconds: 5 | ||
periodSeconds: 5 | ||
timeoutSeconds: 1 | ||
failureThreshold: 120 | ||
readinessProbe: | ||
initialDelaySeconds: 5 | ||
periodSeconds: 5 | ||
timeoutSeconds: 1 | ||
livenessProbe: | ||
initialDelaySeconds: 5 | ||
periodSeconds: 5 | ||
timeoutSeconds: 1 | ||
|
||
PT_HPU_ENABLE_LAZY_COLLECTIVES: "true" | ||
OMPI_MCA_btl_vader_single_copy_mechanism: "none" | ||
|
||
extraCmdArgs: [ | ||
"--tensor-parallel-size", "1", | ||
"--block-size", "128", | ||
"--max-num-seqs", "256", | ||
"--max-seq_len-to-capture", "2048" | ||
] |
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.
why have the command in comments? Remove the # for the actual commands.
Uh oh!
There was an error while loading. Please reload this page.
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.
This is consistent with how all the application READMEs are indicating Helm invocation alternatives. I guess it's to avoid user accidentally copy pasting them.
Another reason why it's commented here, is because it's not a complete command (notice
...
at the end).