↓ 3 callersFunctionnd_flattened_tensor_reformulated_global_shapeReformulated global shape of the flattened N-D ShardedTensor. N-D tensor global shape [X, Y, Z] and local shape [x, y, z] is reformulated int
megatron/core/dist_checkpointing/strategies/resharding.py:60