romtools.workflows.inverse.mf_vi_rom_substeps#

ROM-only optimizer substeps for multifidelity variational inference.

Substeps inherit the outer optimizer method and configuration. Stateful optimizers (e.g., Adam) start with fresh state for each ROM-only sequence, without affecting the outer optimizer. Newton substeps recompute both the gradient and Hessian at each variational state. No high-fidelity model calls or multifidelity control variates occur in these steps.

Functions

apply_diagonal_rom_substeps(*, rom_model, ...)

apply_full_covariance_rom_substeps(*, ...)

restore_rom_substeps(restart_data, start, ...)

Restore an existing run's schedule, matching MF-EKI restart semantics.

rom_substep_restart_data(start, end, count)

rom_substeps_enabled(outer_iteration, start, ...)

validate_rom_substeps(start, end, count)

romtools.workflows.inverse.mf_vi_rom_substeps.restore_rom_substeps(restart_data, start, end, count)[source]#

Restore an existing run’s schedule, matching MF-EKI restart semantics.