Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#14898: pass in pad value to transpose in reduce #17142

Merged
merged 2 commits into from
Jan 27, 2025
Merged

Conversation

bbradelTT
Copy link
Contributor

@bbradelTT bbradelTT commented Jan 27, 2025

Ticket

Link to Github Issue #14898

Subset of previous PR (#16989) that caused a hang in (Single-card) Demo tests and got reverted. Verified that this pipeline passes for this subset of changes: https://github.com/tenstorrent/tt-metal/actions/runs/12992459972

Problem description

  • transpose was filling in non-logical areas with default pad value when called from reduce

What's changed

  • pass in an appropriate pad value for transpose to use
  • also mark a method that should only be used by pool to be deprecated to deter other uses

Checklist

@@ -34,6 +34,7 @@ struct Reduce {
};

// Entry point for pool op, which uses non-standard tensors that cannot be padded.
[[deprecated]]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fyi, you can specify a message if you want

[[deprecated("Use calcSomethingDifferently(int).")]]

@bbradelTT bbradelTT merged commit b1c4b3c into main Jan 27, 2025
253 of 256 checks passed
@bbradelTT bbradelTT deleted the bbradel-14898_pad branch January 27, 2025 18:42
williamlyTT pushed a commit that referenced this pull request Jan 30, 2025
### Ticket
Link to Github Issue #14898 

Subset of previous PR
(#16989) that caused a hang
in (Single-card) Demo tests and got reverted. Verified that this
pipeline passes for this subset of changes:
https://github.com/tenstorrent/tt-metal/actions/runs/12992459972

### Problem description
- transpose was filling in non-logical areas with default pad value when
called from reduce

### What's changed
- pass in an appropriate pad value for transpose to use
- also mark a method that should only be used by pool to be deprecated
to deter other uses

### Checklist
- [x] Post commit CI passes
https://github.com/tenstorrent/tt-metal/actions/runs/12992465641
- [ ] Blackhole Post commit (if applicable)
- [ ] Model regression CI testing passes (if applicable)
- [ ] Device performance regression CI testing passes (if applicable)
- [ ] **(For models and ops writers)** Full [new
models](https://github.com/tenstorrent/tt-metal/actions/workflows/full-new-models-suite.yaml)
tests passes
- [x] New/Existing tests provide coverage for changes
yieldthought pushed a commit that referenced this pull request Jan 31, 2025
### Ticket
Link to Github Issue #14898 

Subset of previous PR
(#16989) that caused a hang
in (Single-card) Demo tests and got reverted. Verified that this
pipeline passes for this subset of changes:
https://github.com/tenstorrent/tt-metal/actions/runs/12992459972

### Problem description
- transpose was filling in non-logical areas with default pad value when
called from reduce

### What's changed
- pass in an appropriate pad value for transpose to use
- also mark a method that should only be used by pool to be deprecated
to deter other uses

### Checklist
- [x] Post commit CI passes
https://github.com/tenstorrent/tt-metal/actions/runs/12992465641
- [ ] Blackhole Post commit (if applicable)
- [ ] Model regression CI testing passes (if applicable)
- [ ] Device performance regression CI testing passes (if applicable)
- [ ] **(For models and ops writers)** Full [new
models](https://github.com/tenstorrent/tt-metal/actions/workflows/full-new-models-suite.yaml)
tests passes
- [x] New/Existing tests provide coverage for changes
hschoi4448 pushed a commit that referenced this pull request Feb 20, 2025
### Ticket
Link to Github Issue #14898 

Subset of previous PR
(#16989) that caused a hang
in (Single-card) Demo tests and got reverted. Verified that this
pipeline passes for this subset of changes:
https://github.com/tenstorrent/tt-metal/actions/runs/12992459972

### Problem description
- transpose was filling in non-logical areas with default pad value when
called from reduce

### What's changed
- pass in an appropriate pad value for transpose to use
- also mark a method that should only be used by pool to be deprecated
to deter other uses

### Checklist
- [x] Post commit CI passes
https://github.com/tenstorrent/tt-metal/actions/runs/12992465641
- [ ] Blackhole Post commit (if applicable)
- [ ] Model regression CI testing passes (if applicable)
- [ ] Device performance regression CI testing passes (if applicable)
- [ ] **(For models and ops writers)** Full [new
models](https://github.com/tenstorrent/tt-metal/actions/workflows/full-new-models-suite.yaml)
tests passes
- [x] New/Existing tests provide coverage for changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants