fix: entrypoint do not display in edit
This commit is contained in:
@@ -199,6 +199,7 @@ export const yamlTemplate = `# ----------------------------------------
|
||||
# version_configs:
|
||||
# - image_name: required
|
||||
# - run_command: optional
|
||||
# - entrypoint: optional
|
||||
# - custom_framework:
|
||||
# - optional
|
||||
# - choose from: ${Object.values(GPUDriverMap).join(', ')}, CPU
|
||||
@@ -214,9 +215,11 @@ version_configs:
|
||||
v0.11.0:
|
||||
image_name: lm/vllm:latest
|
||||
run_command: vllm serve {{model_path}} --port {{port}} --host {{worker_ip}} --served-model-name {{model_name}}
|
||||
entrypoint: "/bin/sh -c"
|
||||
custom_framework: cuda
|
||||
v0.10.0:
|
||||
image_name: lm/vllm:test
|
||||
entrypoint:
|
||||
run_command:
|
||||
custom_framework:
|
||||
`;
|
||||
|
||||
@@ -48,6 +48,10 @@
|
||||
"type": ["string", "null"],
|
||||
"description": "start command"
|
||||
},
|
||||
"entrypoint": {
|
||||
"type": "string",
|
||||
"description": "Override the default ENTRYPOINT of the image"
|
||||
},
|
||||
"custom_framework": {
|
||||
"type": ["string", "null"],
|
||||
"description": "custom framework"
|
||||
@@ -74,6 +78,10 @@
|
||||
"type": ["string", "null"],
|
||||
"description": "start command"
|
||||
},
|
||||
"entrypoint": {
|
||||
"type": "string",
|
||||
"description": "Override the default ENTRYPOINT of the image"
|
||||
},
|
||||
"custom_framework": {
|
||||
"type": ["string", "null"],
|
||||
"description": "custom framework"
|
||||
|
||||
@@ -34,6 +34,10 @@
|
||||
"type": ["string", "null"],
|
||||
"description": "start command"
|
||||
},
|
||||
"entrypoint": {
|
||||
"type": "string",
|
||||
"description": "Override the default ENTRYPOINT of the image"
|
||||
},
|
||||
"custom_framework": {
|
||||
"type": ["string", "null"],
|
||||
"description": "custom framework"
|
||||
|
||||
@@ -38,6 +38,10 @@
|
||||
"type": ["string", "null"],
|
||||
"description": "start command"
|
||||
},
|
||||
"entrypoint": {
|
||||
"type": "string",
|
||||
"description": "Override the default ENTRYPOINT of the image"
|
||||
},
|
||||
"custom_framework": {
|
||||
"type": ["string", "null"],
|
||||
"description": "custom framework"
|
||||
|
||||
Reference in New Issue
Block a user