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
- Review the ModelBundle field reference, including model configurations and legalizer results.
- Identify the models and profiles to include, and confirm each pair is compatible. See Identify available models and profiles.
- Review Supported models and bundles for the available model checkpoints.
- Review Deploying with speculative decoding if you are configuring speculative decoding pairs.
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
- Hosted
- On Premise
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.
- Hosted
- On Premise
- Successful validation
- Failed validation
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

