Skip to content

Commit

Permalink
#0: Uncomment tt_fatal from pad_op
Browse files Browse the repository at this point in the history
  • Loading branch information
mtairum committed Dec 3, 2024
1 parent 0f486cb commit f76667e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ttnn/cpp/ttnn/operations/data_movement/pad/device/pad_op.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ void Pad::validate_with_output_tensors(
"Cannot pad tilized tensor with specified format");
} else if (input_tensor.get_layout() == Layout::ROW_MAJOR) {
TT_FATAL(this->output_tensor_shape[3] % 2 == 0, "RM padding requires output X dim to be a multiple of 2");
// TT_FATAL(
// input_tensor.get_dtype() == DataType::FLOAT32 || input_tensor.get_dtype() == DataType::BFLOAT16,
// "Cannot pad RM tensor with specified format");
TT_FATAL(
input_tensor.get_dtype() == DataType::FLOAT32 || input_tensor.get_dtype() == DataType::BFLOAT16,
"Cannot pad RM tensor with specified format");
}

if (input_tensor.is_sharded()) {
Expand Down

0 comments on commit f76667e

Please sign in to comment.