Skip to content

Commit

Permalink
rearrange parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
brataTT committed Jan 16, 2025
1 parent ee91a63 commit 9b54011
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions runtime/lib/ttnn/operations/ccl/mesh_shard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ void FullToShardShape(const ::ttnn::Tensor &input, ::ttnn::Tensor &out,
const std::vector<int64_t> &shardShape) {
if (shardType == ::tt::target::MeshShardType::Replicate) {
out = ::ttnn::distributed::distribute_tensor(
input, meshDevice,
*::ttnn::distributed::replicate_tensor_to_mesh_mapper(meshDevice));
input,
*::ttnn::distributed::replicate_tensor_to_mesh_mapper(meshDevice),
meshDevice);
} else {
LOG_ASSERT(
input.get_shape().rank() > 1,
Expand Down

0 comments on commit 9b54011

Please sign in to comment.