chore: adjust ui statements
This commit is contained in:
@@ -198,11 +198,11 @@ default_version: v0.11.0
|
||||
health_check_path: /${GPUSTACK_API_BASE_URL}/models
|
||||
default_backend_param:
|
||||
- --host
|
||||
default_run_command: vllm serve {{model_path}} --port {{port}} --worker-ip {{worker_ip}} --served-model-name {{model_name}}
|
||||
default_run_command: vllm serve {{model_path}} --port {{port}} --host {{worker_ip}} --served-model-name {{model_name}}
|
||||
version_configs:
|
||||
v0.11.0:
|
||||
image_name: lm/vllm:latest
|
||||
run_command: vllm serve {{model_path}} --port {{port}} --worker-ip {{worker_ip}} --served-model-name {{model_name}}
|
||||
run_command: vllm serve {{model_path}} --port {{port}} --host {{worker_ip}} --served-model-name {{model_name}}
|
||||
custom_framework: cuda
|
||||
v0.10.0:
|
||||
image_name: lm/vllm:test
|
||||
|
||||
@@ -60,7 +60,7 @@ const BasicForm: React.FC<AddModalProps> = ({ action, currentData }) => {
|
||||
{ id: 'common.help.eg' },
|
||||
{
|
||||
content:
|
||||
'vllm serve {{model_path}} --port {{port}} --worker-ip {{worker_ip}} --served-model-name {{model_name}}'
|
||||
'vllm serve {{model_path}} --port {{port}} --host {{worker_ip}} --served-model-name {{model_name}}'
|
||||
}
|
||||
)}
|
||||
autoSize={{ minRows: 2, maxRows: 4 }}
|
||||
|
||||
@@ -55,7 +55,7 @@ const CustomBackend: React.FC = () => {
|
||||
{ id: 'common.help.eg' },
|
||||
{
|
||||
content:
|
||||
'vllm serve {{model_path}} --port {{port}} --worker-ip {{worker_ip}} --served-model-name {{model_name}}'
|
||||
'vllm serve {{model_path}} --port {{port}} --host {{worker_ip}} --served-model-name {{model_name}}'
|
||||
}
|
||||
)}
|
||||
></SealTextArea>
|
||||
|
||||
@@ -24,7 +24,7 @@ const langMap = {
|
||||
const langOptions = [
|
||||
{ label: 'Curl', value: langMap.shell },
|
||||
{ label: 'Python', value: langMap.python },
|
||||
{ label: 'Nodejs', value: langMap.javascript }
|
||||
{ label: 'Node.js', value: langMap.javascript }
|
||||
];
|
||||
|
||||
const ViewCodeModal: React.FC<ViewModalProps> = (props) => {
|
||||
|
||||
Reference in New Issue
Block a user