All new behaviour is behind environment toggles that default to OFF, so the previous behaviour is reproduced bit-for-bit when they are unset.
MoFlow/models/graph_interaction_nba.py
SRA_EDGE_FIX=1 fixes _make_batched_edge_index: [S,2,E0].reshape(2,-1) packed
scene blocks into the src/dst rows, so 0% of edges stayed inside a scene and
half the nodes had no incoming edge. permute(1,0,2) first keeps the rows intact.
MoFlow/models/graph_interaction_nba_v6.py
SRA_RES_CAP_REL=r caps the graph residual relative to the host embedding
(||res|| <= r*||orig||). This is what makes MoFlow stable
after the edge fix; absolute caps only delay divergence.
SRA_RES_CAP=c absolute cap (kept for comparison; inferior on MoFlow).
SRA_GATE_SCALE, SRA_SOFT_START, SRA_GATE_BIAS additional damping knobs.
Caps use torch.where, not rn.clamp(max=c)/(rn+eps): the latter has zero
gradient at res=0 and silently shrinks sub-cap values.
LED/trainer/train…