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

[functorch.dims] Fix corner cases with permute #88226

Closed
wants to merge 1 commit into from

Conversation

zdevito
Copy link
Contributor

@zdevito zdevito commented Nov 1, 2022

Stack from ghstack (oldest at bottom):

Previously the permute function was extended to behave like the order
function for first-class dimensions. However, unlike permute,
order doesn't have a keyword argment dims, and there is no way to add
it in a way that makes both permute an order to continue to have the same
behavior. So this change just removes the extra functionality of permute,
which wasn't documented anyway. Fixes #88187

Previously the permute function was extended to behave like the `order`
function for first-class dimensions. However, unlike `permute`,
`order` doesn't have a keyword argment `dims`, and there is no way to add
it in a way that makes both permute an order to continue to have the same
behavior. So this change just removes the extra functionality of permute,
which wasn't documented anyway. Fixes #88187

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 1, 2022

🔗 Helpful Links

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

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

❌ 2 Failures

As of commit 195fa32:

The following jobs have failed:

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

zdevito added a commit that referenced this pull request Nov 1, 2022
Previously the permute function was extended to behave like the `order`
function for first-class dimensions. However, unlike `permute`,
`order` doesn't have a keyword argment `dims`, and there is no way to add
it in a way that makes both permute an order to continue to have the same
behavior. So this change just removes the extra functionality of permute,
which wasn't documented anyway. Fixes #88187

ghstack-source-id: fa8584bdbc2e3d83b95fe2303b9ab251c914119c
Pull Request resolved: #88226
@zdevito zdevito added the topic: bug fixes topic category label Nov 1, 2022
@zdevito zdevito requested a review from zou3519 November 1, 2022 19:32
@zdevito zdevito added the topic: not user facing topic category label Nov 2, 2022
@zdevito
Copy link
Contributor Author

zdevito commented Nov 2, 2022

@pytorchbot merge -f "unrelated dynamo failure"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

kulinseth pushed a commit to kulinseth/pytorch that referenced this pull request Nov 5, 2022
Previously the permute function was extended to behave like the `order`
function for first-class dimensions. However, unlike `permute`,
`order` doesn't have a keyword argment `dims`, and there is no way to add
it in a way that makes both permute an order to continue to have the same
behavior. So this change just removes the extra functionality of permute,
which wasn't documented anyway. Fixes pytorch#88187
Pull Request resolved: pytorch#88226
Approved by: https://github.com/zou3519
kulinseth pushed a commit to kulinseth/pytorch that referenced this pull request Dec 10, 2022
Previously the permute function was extended to behave like the `order`
function for first-class dimensions. However, unlike `permute`,
`order` doesn't have a keyword argment `dims`, and there is no way to add
it in a way that makes both permute an order to continue to have the same
behavior. So this change just removes the extra functionality of permute,
which wasn't documented anyway. Fixes pytorch#88187
Pull Request resolved: pytorch#88226
Approved by: https://github.com/zou3519
@facebook-github-bot facebook-github-bot deleted the gh/zdevito/200/head branch June 8, 2023 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants