Skip to content

Commit

Permalink
#0: relax width alignment and shard width check
Browse files Browse the repository at this point in the history
  • Loading branch information
ayerofieiev-tt committed Nov 4, 2024
1 parent 9cb4af5 commit 94d1fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ttnn/cpp/ttnn/tensor/layout/page_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ void RowMajorPageConfig::validate_alignment(const Alignment& alignment, DataType
const auto& shard_shape = shard_spec.shape;
const auto shard_width = shard_shape[1];
TT_FATAL(
width_alignment == shard_width,
width_alignment % shard_width == 0,
"Alignment mismatch for sharded tensor: Expected alignment width of {} to match shard shape {} for Row Major layout.",
width_alignment, shard_shape);
}
Expand Down

0 comments on commit 94d1fd0

Please sign in to comment.