计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
conditional_flow_matching_loss【效率与协作】Compute Conditional Flow Matching squared vector-field losses and deterministic one-parameter proxy updates.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a recovery or implementation needs the simulation-free CFM objective from Flow Matching: regress a model vector field against conditional target vectors sampled from a conditional path. Do not use it to construct OT path samples or to solve the CNF ODE.
[batch, dim].u_t.scripts/cfm_loss.py for loss computation or target-scaled proxy predictions.one_parameter_update to show an optimizer-relevant loss decrease without claiming image-scale model training.Run:
python tests/test_cfm_loss.py
python scripts/cfm_loss.py --targets '[[1, 2]]' --scale 0.5
This skill validates the CFM regression mechanism using deterministic vectors. It does not provide neural network layers, image data loaders, or large-scale optimization.
Cycle refinement: reduced recovery should record both loss-before and loss-after so no-update ablations are visible.