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
Since fp16_groups shared memory with fp16_groups_flat, fp16_groups_flat format is the same as fp32_groups_flat,so we can just copy fp32_groups_flat to fp16_groups_flat without unflatten ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
https://github.com/microsoft/DeepSpeed/blob/master/deepspeed/runtime/fp16/fused_optimizer.py#L298C1-L301C37
Since fp16_groups shared memory with fp16_groups_flat, fp16_groups_flat format is the same as fp32_groups_flat,so we can just copy fp32_groups_flat to fp16_groups_flat without unflatten ?
Beta Was this translation helpful? Give feedback.
All reactions