Skip to main content
Create a bundle to serve several models as one unit, to configure speculative decoding, or to validate and share a named configuration. A bundle is a reusable, named ModelBundle resource that combines one or more model and profile pairs. Creating a bundle does not serve it. Once the bundle passes validation, deploy it with a ModelDeployment as described in Deploy a bundle.
A bundle is optional. To serve a single model, pair it with a profile and deploy it directly. See Deploy a single model.

Prerequisites

Before authoring a bundle, complete the quickstart that applies to you:

Quickstart - Hosted

System set up for hosted SambaStack

Quickstart - On-prem

System set up for on-prem SambaStack
Additionally:

Create the bundle

1

Create the YAML file

Create a YAML file for your ModelBundle:
For multi-model bundles with speculative decoding, see the ModelBundle structure example.
2

Apply the ModelBundle

3

Verify legalizer validation

The legalizer automatically runs when you apply the bundle and validates whether the configuration fits in RDU memory.
To read the legalizer result directly, including memory utilization and any warnings:
For the full status structure and field descriptions, see Legalizer results.
Do not proceed to deployment until the bundle shows ValidationSucceeded.

Troubleshooting

A bundle is validated by the legalizer before it can be deployed. For the errors and warnings it reports and how to resolve them, see Legalizer validation failures.

Next steps

Deploy a bundle

Serve the bundle you just created

ModelBundle

Full field reference for the bundle resource