chore: default_env, env
This commit is contained in:
@@ -286,18 +286,18 @@ health_check_path: /v1/models
|
||||
default_backend_param:
|
||||
- --host
|
||||
default_run_command: "{{model_path}} --port {{port}} --host {{worker_ip}} --served-model-name {{model_name}}"
|
||||
default_environment:
|
||||
default_env:
|
||||
version_configs:
|
||||
v0.11.0:
|
||||
image_name: lm/vllm:latest
|
||||
run_command: "{{model_path}} --port {{port}} --host {{worker_ip}} --served-model-name {{model_name}}"
|
||||
entrypoint: "/bin/sh -c"
|
||||
custom_framework: cuda
|
||||
environment:
|
||||
env:
|
||||
v0.10.0:
|
||||
image_name: lm/vllm:test
|
||||
entrypoint:
|
||||
run_command:
|
||||
custom_framework: rocm
|
||||
environment:
|
||||
env:
|
||||
`;
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
"type": ["string", "null"],
|
||||
"description": "default start command"
|
||||
},
|
||||
"default_environment": {
|
||||
"default_env": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
@@ -63,7 +63,7 @@
|
||||
"type": ["string", "null"],
|
||||
"description": "custom framework"
|
||||
},
|
||||
"environment": {
|
||||
"env": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
"type": ["string", "null"],
|
||||
"description": "health check path"
|
||||
},
|
||||
"default_environment": {
|
||||
"default_env": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
@@ -49,7 +49,7 @@
|
||||
"type": ["string", "null"],
|
||||
"description": "custom framework"
|
||||
},
|
||||
"environment": {
|
||||
"env": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"type": ["string", "null"],
|
||||
"description": "health check path"
|
||||
},
|
||||
"default_environment": {
|
||||
"default_env": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
@@ -53,7 +53,7 @@
|
||||
"type": ["string", "null"],
|
||||
"description": "custom framework"
|
||||
},
|
||||
"environment": {
|
||||
"env": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
|
||||
@@ -8,7 +8,7 @@ export interface VersionConfigs {
|
||||
version_no?: string;
|
||||
is_built_in?: boolean;
|
||||
backend_source?: string;
|
||||
environment: Record<string, any>;
|
||||
env: Record<string, any>;
|
||||
}
|
||||
|
||||
export interface VersionListItem extends VersionConfigs {
|
||||
@@ -27,7 +27,7 @@ export interface FormData {
|
||||
content?: string;
|
||||
enabled?: boolean;
|
||||
backend_source?: string;
|
||||
default_environment?: Record<string, any>;
|
||||
default_env?: Record<string, any>;
|
||||
}
|
||||
|
||||
export interface ListItem extends FormData {
|
||||
|
||||
Reference in New Issue
Block a user