-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support config file for vllm runtime (#780)
**Reason for Change**: support to load config from file and overwrite runtime args. **Requirements** - [x] added unit tests and e2e tests (if applicable). --------- Signed-off-by: jerryzhuang <zhuangqhc@gmail.com>
- Loading branch information
Showing
3 changed files
with
169 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: inference-params-template | ||
namespace: {{ .Release.Namespace }} | ||
data: | ||
inference_config.yaml: | | ||
# Maximum number of steps to find the max available seq len fitting in the GPU memory. | ||
max_probe_steps: 6 | ||
vllm: | ||
cpu-offload-gb: 0 | ||
gpu-memory-utilization: 0.95 | ||
swap-space: 4 | ||
# max-seq-len-to-capture: 8192 | ||
# num-scheduler-steps: 1 | ||
# enable-chunked-prefill: false | ||
# see https://docs.vllm.ai/en/stable/models/engine_args.html for more options. |
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
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