Searched refs:temp_sharding (Results 1 – 1 of 1) sorted by relevance
923 const auto& temp_sharding = compatible_sharding.value(); in ReshardToPartialReplicateWithAllGather() local926 if (CanReshardWithCollectivePermute(sharding(), temp_sharding)) { in ReshardToPartialReplicateWithAllGather()928 partitioned_hlo.ReshardWithCollectivePermute(temp_sharding); in ReshardToPartialReplicateWithAllGather()936 int64 replicate_factor = temp_sharding.tile_assignment().dim(dim) / in ReshardToPartialReplicateWithAllGather()947 partitioned_hlo.hlo_, base_shape_, temp_sharding, target, replicate_dims, in ReshardToPartialReplicateWithAllGather()957 GroupShardingOnDims(temp_sharding, replicate_dims, replicate_factors); in ReshardToPartialReplicateWithAllGather()