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

[ET-VK][15/n] reconcile Dim4D and NchwDim #3489

Closed
wants to merge 4 commits into from

Conversation

yipjustin
Copy link
Contributor

@yipjustin yipjustin commented May 2, 2024

Stack from ghstack (oldest at bottom):

TSIA.

Differential Revision: D56778340

Copy link

pytorch-bot bot commented May 2, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/3489

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (2 Unrelated Failures)

As of commit 155b61b with merge base c001f59 (image):

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 2, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56778340

yipjustin added a commit that referenced this pull request May 2, 2024
TSIA.

Differential Revision: [D56778340](https://our.internmc.facebook.com/intern/diff/D56778340/)

ghstack-source-id: 224867963
Pull Request resolved: #3489
yipjustin added a commit that referenced this pull request May 4, 2024
Pull Request resolved: #3489

TSIA.

Differential Revision: [D56778340](https://our.internmc.facebook.com/intern/diff/D56778340/)
ghstack-source-id: 225119612
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56778340

yipjustin added a commit that referenced this pull request May 4, 2024
Pull Request resolved: #3489

1. Adapt @SSJia's idea to represent `Dim4D` as a "negative index", and rename it as `DimIndex`
2. Merge `NchwDim`'s functionality with `Dim4D`.
3. Clean up `dim_at` call to assume only `DimIndex` as input.
4. Further clean up some usage of `uint` and convert them into `int`.


ghstack-source-id: 225120658

Differential Revision: [D56778340](https://our.internmc.facebook.com/intern/diff/D56778340/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56778340

yipjustin added a commit that referenced this pull request May 8, 2024
Pull Request resolved: #3489

1. Adapt @SSJia's idea to represent `Dim4D` as a "negative index", and rename it as `DimIndex`
2. Merge `NchwDim`'s functionality with `Dim4D`.
3. Clean up `dim_at` call to assume only `DimIndex` as input.
4. Further clean up some usage of `uint` and convert them into `int`.


ghstack-source-id: 225521662

Differential Revision: [D56778340](https://our.internmc.facebook.com/intern/diff/D56778340/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56778340

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 251aa74.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants