Skip to content

Inference Frameworks ​

This task combines a runtime image, startup command, service port, and framework type into a reusable deployment runtime.

Target Outcome ​

The inference framework starts a service with the target image and exposes the expected port for model assets to reference.

Applicable Roles ​

  • Platform Operator

Before You Start ​

  • The inference image is prepared and validated.
  • Framework type, startup command, model placeholder, service port, and health-check behavior are confirmed.

Procedure ​

Add a Framework ​

  1. Go to Deploy Assets > Inference Frameworks.
  2. Select Add Framework.

Review inference frameworks

  1. Complete Basic Information:
    • Framework Icon: upload a JPG, PNG, or SVG file no larger than 1 MB; 64 x 64 is recommended.
    • Framework Name: maintain Simplified Chinese and English values separately.
    • Framework Type: select at least one type, such as vllm, tgi, sglang, ollama, asr, tts, sdk-stable-diffusion, or comfyui.
    • Framework Description: maintain optional localized rich-text descriptions.
  2. Complete Runtime Environment:
    • Image: select the validated runtime image and confirm its version.
    • Port: enter the service port exposed by the framework, such as 8000.
    • Startup Command: maintain one or more protocol and command entries, such as --port 8000 --model {model_name} --trust-remote-code.
  3. Select Save. Select Cancel to discard the form.

Add an inference framework

Parameters - Basic Information ​

FieldTypeExampleDescription
Framework IconUpload-Required; JPG, PNG, or SVG, no larger than 1 MB; 64 x 64 recommended
Framework NameTextvllm in both language tabsRequired; maintain each language independently
Framework TypeMulti-selectvllm, tgi, sglangRequired; select at least one type
Framework DescriptionRich text-Optional localized description

Parameters - Runtime Environment ​

FieldTypeExampleDescription
ImageSingle selectregistry.example.com/ai/vllm:0.9.1Required; select from the validated image list
PortNumber8000Required; service port exposed by the framework
Startup CommandList--port 8000 --model {model_name} --trust-remote-codeRequired; supports multiple command entries

Completion Checklist ​

Purpose: These are the exit criteria for this task. If any check fails, follow the troubleshooting section before continuing.

CheckPass Criteria
1Image, framework type, startup command, and port are compatible.
2Service health and API behavior can be validated.
3Model-asset configuration can select the framework.

Troubleshooting ​

SymptomCheck First
Framework fails to startImage compatibility, command parameters, model path, and port
Model asset cannot select the frameworkFramework state, framework type, and target-cloud compatibility

User Manual ​

Review complete fields, validation rules, and troubleshooting for Inference Frameworks