unilab.base.variants¶
Task-owned fixed model variant declarations.
UniLab owns which variant each environment uses. It does not compile engine models or select an executor representation; those responsibilities stay behind the UniSim backend contract.
Functions
|
Build the immutable UniSim construction-time variant identity. |
|
Fail closed unless UniSim can realize the complete variant plan. |
Classes
Task-owned variant sources and their optional explicit assignment. |
|
One named, pickle-safe source descriptor for a fixed model variant. |
- class unilab.base.variants.FixedModelVariantCatalogCfg[source]¶
Bases:
objectTask-owned variant sources and their optional explicit assignment.
-
variants:
tuple[FixedModelVariantCfg,...]¶
-
variants:
- class unilab.base.variants.FixedModelVariantCfg[source]¶
Bases:
objectOne named, pickle-safe source descriptor for a fixed model variant.
- unilab.base.variants.build_fixed_variant_plan(catalog, num_envs)[source]¶
Build the immutable UniSim construction-time variant identity.
- Parameters:
catalog (
FixedModelVariantCatalogCfg)num_envs (
int)
- Return type:
FixedVariantPlan