ModelProfile resources use apiVersion: sambanova.ai/v1alpha1.
Structure
Batching configurations
spec.batchingConfigs is a two-level map: a configuration name, then a sequence length tier, then the settings for that tier.
Two configuration names are meaningful to the operator:
Any other name is accepted and can be selected by name from a bundle, but the operator treats
recommended and all specially when resolving the default.
Common tier keys are 8k, 16k, 32k, 64k, and 128k. PEFs below 1k use a bare integer key, for example 448, and vocoder PEFs use a codes-length key in the form <n>t, for example 10t.
Overriding a batching configuration
A profile establishes the batch sizes available at each tier, so its own configurations always list them explicitly. They never use"*".
You override a profile’s batching for a single model through modelConfigs[].batchingConfig in a ModelBundle, or through the inline spec.models of a ModelDeployment. An override takes one of two forms.
Select one of the profile’s configurations by name. Set batchingConfig to a string naming an entry in the profile’s batchingConfigs:
batch_sizes be set to "*", which selects every batch size the profile provides for that tier:
promptBatchingBuckets has them backfilled from the PEFs that tier references.
Resolution order
The batching configuration used for a model is resolved in this order, first match winning:- The model configuration’s
batchingConfig, whether a name or an inline map. - The profile’s
recommendedconfiguration, if it defines one. - The profile’s
allconfiguration. - A configuration generated by the operator from the PEF grouping.
Related resources
PEF
The compiled executables a profile references
Model
The checkpoints a profile is paired with
ModelBundle
Where a profile’s batching configuration can be overridden
Deploying models and bundles
How profiles relate to the other resources

