Construct the binding named by a validated profile for composition, which
the implementation receives (absent: the default record,
resolveComposition(config)). A supplied registry can return any
backend-owned interface; the compatibility default returns the legacy model
union. The caller retains ownership of the supplied weights.
Construct the binding named by a validated profile for composition, which
the implementation receives (absent: the default record,
resolveComposition(config)). A supplied registry can return any
backend-owned interface; the compatibility default returns the legacy model
union. The caller retains ownership of the supplied weights.
Optionalcomposition: CompositionOptionalresolved: ResolvedModelProfileOptionalimplementations: ModelImplementationProvider<Weights, RuntimeModel, Composition>Loads the artifact's template. fallback renders artifacts that ship none
(the model layer supplies it from the profile); without one, a missing
template is an error.
Train a LoRA adapter on the caller's model. Obligations of the control.signal
seam: cancellation is observed only at boundaries (entry, before every optimizer
step, and once more after the last step once every checkpoint write has
completed), so a step is never interrupted and numerics are unchanged; a
cancellation observed at a boundary rejects with the signal's reason, detaches
the caller's model, releases the LoRA leaves after any checkpoint write that
borrowed them has settled, keeps checkpoints saved earlier on disk, and writes
no final adapter. Starting the final save is the commit point: a signal that
arrives after it does not stop the complete save, and the run reports success.
Every exit, including failure, leaves the model detached from training.
Child-local native resources. The parent job host owns the execution lease.