Skip to content

Commit

Permalink
#17277: switch run_without_autoformat to run in reduce_op.cpp (#18032)
Browse files Browse the repository at this point in the history
### Ticket
Link to Github Issue #17277

### Problem description
- operation::run_without_autoformat is being removed

### What's changed
- switch to using operation::run

### Checklist
- [x] [All post
commit](https://github.com/tenstorrent/tt-metal/actions/workflows/all-post-commit-workflows.yaml)
CI passes
https://github.com/tenstorrent/tt-metal/actions/runs/13419982451
- [x] [Blackhole Post
commit](https://github.com/tenstorrent/tt-metal/actions/workflows/blackhole-post-commit.yaml)
CI passes (if applicable)
https://github.com/tenstorrent/tt-metal/actions/runs/13419994272
- [x] [Model
regression](https://github.com/tenstorrent/tt-metal/actions/workflows/perf-models.yaml)
CI passes (if applicable)
https://github.com/tenstorrent/tt-metal/actions/runs/13419999018/job/37490243801
failures exist in main
https://github.com/tenstorrent/tt-metal/actions/runs/13418125200/job/37484190615
- [x] [Device performance
regression](https://github.com/tenstorrent/tt-metal/actions/workflows/perf-device-models.yaml)
CI passes (if applicable)
https://github.com/tenstorrent/tt-metal/actions/runs/13419997336
- [ ] **(For models and ops writers)** Full [new models
tests](https://github.com/tenstorrent/tt-metal/actions/workflows/full-new-models-suite.yaml)
CI passes (if applicable)
- [x] New/Existing tests provide coverage for changes
  • Loading branch information
bbradelTT authored Feb 20, 2025
1 parent e68353d commit 98a147a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ Tensor reduce(
ttnn::operations::experimental::auto_format::AutoFormat::format_input_tensor(
input_tensor, device, input_tensor_pad_shape, pad_value, Layout::TILE);
}
const Tensor output_tensor = operation::run_without_autoformat(
const Tensor output_tensor = operation::run(
Reduce{
reduce_math,
ReduceOpDim::W,
Expand All @@ -232,7 +232,7 @@ Tensor reduce(
config},
{formatted_input_tensor})
.at(0);
return operation::run_without_autoformat(
return operation::run(
Reduce{
reduce_math,
ReduceOpDim::H,
Expand Down

0 comments on commit 98a147a

Please sign in to comment.