You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(diffusion): broadcast transition sigma to replay mean rank #447
_transition_sigma() always returns a five-dimensional tensor with shape [1, S, 1, 1, 1], regardless of the rank of the replayed transition means:
returnsigma_t.reshape(1, -1, 1, 1, 1)
That shape only broadcasts correctly for image means shaped [B, S, C, H, W]. The same helper is shared by FlowDPPO, FlowGRPO's reference
KL, and DiffusionOPD, while supported stages also return:
For video means, KL computation fails with a broadcast error. For example:
means: [2, 3, 16, 10, 64, 64]
sigma_t: [1, 3, 1, 1, 1]
RuntimeError: The size of tensor a (16) must match the size of tensor b (3)
at non-singleton dimension 2
For four-dimensional SenseNova means, the common micro_batch_size: 1 case
silently broadcasts to a step cross-product instead of failing:
Activity
fix(diffusion): broadcast transition sigma to replay mean rank (Tence…