torch_harmonics.distributed.distributed_transpose_azimuth#
- torch_harmonics.distributed.distributed_transpose_azimuth(input_, dims_, shapes_)[source]#
All-to-all transpose across the azimuth process group.
Redistributes
input_so that data sharded alongdims_[0]becomes sharded alongdims_[1]. This is the core communication pattern used when switching between spatial and spectral partitioning of the longitude axis.- Parameters:
- Returns:
Transposed tensor, now partitioned along
dims_[1].- Return type: