Skip to main content

Module training_runtime

Module training_runtime 

Source
Expand description

Native training orchestration outcome and common runtime entry point.

The portable contracts in this module use Typed Canonical Value v1 (TCV1). Historical graph, plan, controller, parameter, and bundle fingerprints keep their pre-existing algorithms.

Structs§

BoundTrainingOutput
One resolved output binding and the actual portable blocks it selected.
PortableFullRefitExecution
Native artifacts and execution evidence produced by the first, scheduler only step of a V3 full refit. The V3 outcome/package writer consumes this result to create a new durable child; it must not mutate the parent.
PortableFullRefitExecutionInput
Target-bound input for the scheduler-owned full-refit half of Package V3. This is deliberately not a replay request: it accepts a new training cohort attestation and never touches a source execution bundle, source scores, source predictions, or source artifacts.
PortableRefitExecutionBundleV3
Refit-only child execution bundle for Package V3.
PortableRefitOutcomeV3
A new V3 training outcome produced by a target-bound full refit.
PortableRefitPackageV3
Closed Package V3 child created by a successful full refit.
PortableRefitPackageV3BuildInput
Input for the DAG-ML-owned V3 child writer. The caller supplies only fresh execution evidence and identifiers; source-package content is used exclusively to revalidate the closed parent recipe and output projection.
TrainingExecutionInput
Host-owned resources and portable identifiers for one native training run.
TrainingOutcome
Portable result of COMPILE/PLAN/FIT_CV/SELECT and optional REFIT.
TrainingRefitOutcome
Exact W0 refit state embedded in TrainingOutcome.

Enums§

TrainingRefitStatus

Constants§

BOUND_TRAINING_OUTPUT_SCHEMA_VERSION
LEGACY_TRAINING_OUTCOME_SCHEMA_VERSION
MIN_READABLE_TRAINING_OUTCOME_SCHEMA_VERSION
PORTABLE_REFIT_EXECUTION_BUNDLE_V3_SCHEMA_VERSION
PORTABLE_REFIT_OUTCOME_V3_SCHEMA_VERSION
V3 is a new refit-child family, not a readable variant of TrainingOutcome or PortablePredictorPackage V1/V2.
PORTABLE_REFIT_PACKAGE_V3_SCHEMA_VERSION
TRAINING_OUTCOME_SCHEMA_ID
TRAINING_OUTCOME_SCHEMA_VERSION

Functions§

build_oof_prediction_cache_payloads
build_oof_prediction_cache_records
build_oof_prediction_requirements
Derive portable OOF requirements from the blocks produced by an existing FIT_CV execution. Shared by the training operation and host capture paths.
build_portable_refit_package_v3
Atomically construct the outcome, execution bundle and package child of a successful full refit. No V2 score, selection, prediction cache, conformal state or process-local handle is copied into this V3 family.
derive_portable_full_refit_target_plan
Derive the only execution plan a V3 full REFIT may use for a new cohort.
execute_portable_full_refit
Execute exactly one portable native full refit from a closed recipe.
execute_training
Execute COMPILE/PLAN -> FIT_CV -> SELECT -> optional REFIT and return the complete portable W0 outcome.
validate_portable_refit_target_plan
Validate a persisted V3 target plan against the parent recipe without reusing the parent’s cohort-specific plan fingerprint.