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
Stop accumulating by appending (possibly large) tensors in a list then summing. Instead, add the tensors as they become available. This reduces memory usage (if XLA compilation is not used). With XLA compilation, this appears to be a no-op.
PiperOrigin-RevId: 463181092
0 commit comments