Skip to content

Frameworks ​

Feature Overview ​

ItemContent
Applicable RolesOperators
Navigation PathAI Infra(On-Cloud) > Deploy Assets > Frameworks
Page Route/infrahub/op/model/framework
Managed ObjectsInference frameworks, framework versions, runtime images, and startup configuration

Beginner Explanation ​

Frameworks defines how a model service runs. A framework version combines the runtime image, startup method, and support scope for use by model-library records.

Terminology ​

TermDescription
Inference FrameworkThe runtime framework that hosts model inference.
Framework VersionA framework record bound to an image and startup configuration.
Publish VersionMakes a maintained version available to model configuration.

Review framework details and existing versions, add the framework, publish a configured version, and validate its availability in Models.

Beginner Checklist ​

ScenarioDo FirstDo Not Do Directly
First visitReview existing objects, states, and available actionsChange an unknown object
Before a changeVerify upstream dependencies, impact scope, and target objectSkip dependency and impact checks
After completionValidate the current and downstream pages with Result ValidationRely only on a success message
Page errorRecord the redacted object, time, and page messageSubmit repeatedly or record real credentials

Prerequisites ​

  1. The current account has the permission required for Frameworks.
  2. The target runtime image is registered and framework-version startup requirements are confirmed.
  3. Before publishing a version, check model references, image accessibility, and startup parameters.

Page Description ​

The page provides framework lists, details, versions, and the add entry.

Page screenshots:

Frameworks page

The image shows the Frameworks list page, displaying framework cards, framework types, and publish status by cloud platform, along with the Add Framework button.

Main Operations ​

View Framework Details ​

  1. Locate the target framework and open its details.
  2. Verify the framework identifier, state, and version list.
  3. Open the target version and verify the runtime image and startup configuration.

Framework details

The image shows the Framework Details drawer, displaying framework metadata, version list, associated runtime images, and master/worker startup command settings.

Add Framework ​

  1. Click "Add Framework".
  2. Enter basic information and add a version.
  3. Select the runtime image and maintain startup and support scope.
  4. Click "Confirm" and open the details for validation.

Add Framework

The image shows the Add Framework form, containing configurations for cloud account, region, framework type, framework name, initial version number, and container startup commands.

Publish Framework Version ​

  1. Locate the configured version in framework details.
  2. Click "Publish" and verify the version, image, and scope.
  3. After publication, confirm that the version is selectable in Models.

Publish framework version

The image shows the confirmation dialog for publishing a framework version, making it available for reference in model configurations.

Parameter Reference ​

Field NameRequiredField TypeExampleDescription
Cloud PlatformYesTab/Single selectAlibaba CloudSelects the cloud platform to which the framework belongs.
Cloud AccountYesDropdownSample Cloud AccountSelects the cloud account under the current cloud platform.
RegionYesDropdownEast China-Shanghai 1Selects the region where the framework is available.
Framework TypeYesTextLLMFramework type. The page example includes LLM.
Framework NameYesTextSample FrameworkFramework display name in the list and model configuration.
Framework DescriptionNoMultiline textSample descriptionDescribes the framework purpose or compatible scenario. Do not write internal sensitive information.
Framework VersionYesTextv1.0Framework version.
Default API SuffixNoText/v1/chat/completionsDefault API path suffix for the model service.
ImageYesDropdownSample ImageRuntime image used by the framework.
PortYesNumber/Text8000Port listened on by the framework service.
Master Node Startup CommandYesMultiline textpython3 /opt/start.pyStartup command for the master node. Examples must be sanitized.
Worker Node Startup CommandNoMultiline textpython3 /opt/worker.pyStartup command for worker nodes, filled in when required by the framework.
Environment VariablesNoKey-value configurationENV_NAME=valueAdded through Add Environment Variable. Do not write real secrets.
Extended ParametersNoKey-value configurationPARAM=valueAdded through Add Extended Parameter. Do not write internal sensitive parameters.
ExportNoButtonExportExports framework configuration and may contain sensitive operational information.
ImportNoButtonImportImports framework configuration in bulk and may change multiple records.
CancelNoButtonCancelCloses the dialog without saving the current configuration.
ConfirmYesButtonConfirmSubmits the framework configuration. Review carefully before clicking.

Pitfalls ​

  • Do not skip the upstream dependency check: The target runtime image is registered and framework-version startup requirements are confirmed.
  • Confirm impact before a configuration change: Before publishing a version, check model references, image accessibility, and startup parameters.
  • A success message does not prove downstream synchronization. Use Result Validation afterward.
  • Use only <API_KEY>, <PERSONAL_KEY>, <ACCESS_KEY_ID>, <ACCESS_KEY_SECRET>, <BASE_URL>, and <ENDPOINT_PATH> for credential and endpoint examples.

Result Validation ​

Check ItemSuccess SignalIf Abnormal
Page is accessibleTitle, navigation, and main content display correctlyCheck role permission and navigation path
Managed objects are visibleInference frameworks, framework versions, runtime images, and startup configuration display as expectedClear filters and verify upstream dependencies
Operation result is savedThe expected state or new record appearsReview page messages, required fields, and dependencies
Downstream result is consistentAssociated pages show the changeWait for synchronization, refresh, and return to the responsible object

FAQ ​

Target Object Is Missing in Frameworks ​

Symptom:

The expected object is missing from the list or selector.

Possible Causes:

  • Active query criteria filter out the target object.
  • An upstream object is disabled, or the current role lacks visibility.

Resolution:

  1. Clear filters and refresh the page.
  2. Verify the prerequisite object: The target runtime image is registered and framework-version startup requirements are confirmed.
  3. Confirm the current role and data scope, then locate the object again.

Frameworks Action Is Unavailable ​

Symptom:

An expected button, menu, or state switch is unavailable.

Possible Causes:

  • The current account lacks the required action permission.
  • Object state, references, or prerequisites block the action.

Resolution:

  1. Verify the permission for the action and the current object state.
  2. Check references and prerequisites identified by the page message.
  3. Remove the blocker, refresh the page, and perform the action once.

Frameworks Change Does Not Reach Downstream ​

Symptom:

The page reports success, but a downstream page still shows the old state.

Possible Causes:

  • An associated page has stale cache or synchronization delay.
  • The current and downstream pages use different roles, tenants, or data scopes.

Resolution:

  1. Wait for synchronization and refresh both pages.
  2. Confirm that both pages use the same role, tenant, and object scope.
  3. If they still differ, return to the responsible object and verify the saved result.

Frameworks Data Differs from Another Page ​

Symptom:

Counts or states differ from an associated page.

Possible Causes:

  • The pages use different filters, aggregation rules, or update times.
  • The change is still synchronizing, or role-based data scopes differ.

Resolution:

  1. Align filters and aggregation rules on both pages.
  2. Check update times and wait for synchronization.
  3. Compare object details instead of summary counts only.

How to Troubleshoot a Frameworks Failure ​

Symptom:

Submission fails or the state does not change for an extended period.

Possible Causes:

  • Required fields, field combinations, or object state do not meet submission rules.
  • An upstream dependency is invalid, the request failed, or the same action is already processing.

Resolution:

  1. Record the redacted object, time, and complete page message.
  2. Verify required fields, object state, and upstream dependencies.
  3. Confirm that no identical job is processing before one retry.

Notes ​

  • Before publishing a version, check model references, image accessibility, and startup parameters.
  • Do not put real accounts, credentials, internal locations, or customer data in documentation, screenshots, tickets, or chat records.
  • Authorization, deployment, deletion, publication, state, or billing changes require an auditable record and recovery plan.

Next Steps ​

  1. Select the framework when adding a model in the model library and validate the compute plan.
  2. Create a deployment with a test model to confirm service startup and health check results.
  3. Regularly review framework images, startup commands, and environment variables to avoid outdated configuration.