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

Fix XLA symbolic shapes binding #88928

Closed
wants to merge 3 commits into from
Closed

Conversation

ezyang
Copy link
Contributor

@ezyang ezyang commented Nov 12, 2022

Stack from ghstack (oldest at bottom):

Obsoletes #88772

Mostly revolves around NOT assuming that the inside is a SymNode,
but instead duck-typed to be a SymNode.

Signed-off-by: Edward Z. Yang ezyang@fb.com

Obsoletes #88772

Mostly revolves around NOT assuming that the inside is a SymNode,
but instead duck-typed to be a SymNode.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 12, 2022

🔗 Helpful Links

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

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

❌ 1 Failures

As of commit f22d5d5:

The following jobs have failed:

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

@pytorch-bot pytorch-bot bot added the release notes: jit release notes category label Nov 12, 2022
ezyang added a commit that referenced this pull request Nov 12, 2022
Obsoletes #88772

Mostly revolves around NOT assuming that the inside is a SymNode,
but instead duck-typed to be a SymNode.

Signed-off-by: Edward Z. Yang <ezyangfb.com>

ghstack-source-id: 86b680fcb9af96408521efa0973900854f33e1eb
Pull Request resolved: #88928
Obsoletes #88772

Mostly revolves around NOT assuming that the inside is a SymNode,
but instead duck-typed to be a SymNode.

Signed-off-by: Edward Z. Yang <ezyangfb.com>

[ghstack-poisoned]
@ezyang ezyang added release notes: composability release notes category topic: bug fixes topic category labels Nov 12, 2022
ezyang added a commit that referenced this pull request Nov 12, 2022
Obsoletes #88772

Mostly revolves around NOT assuming that the inside is a SymNode,
but instead duck-typed to be a SymNode.

Signed-off-by: Edward Z. Yang <ezyangfb.com>

ghstack-source-id: ac988356cd7d586d3b50b12afb0408d59f662cd8
Pull Request resolved: #88928
@ezyang
Copy link
Contributor Author

ezyang commented Nov 12, 2022

cc @vanbasten23

SYMNODE_UNARY(bool_)
SYMNODE_UNARY(int_)
SYMNODE_UNARY(sym_int) // TODO: remove me
SYMNODE_UNARY(sym_float)
Copy link
Contributor

Choose a reason for hiding this comment

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

sym_sqrt missng?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

in fact not missing, because this PR base is not recent enough to have sym_sqrt. I'll rebase

Obsoletes #88772

Mostly revolves around NOT assuming that the inside is a SymNode,
but instead duck-typed to be a SymNode.

Signed-off-by: Edward Z. Yang <ezyangfb.com>

[ghstack-poisoned]
@ezyang ezyang added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 12, 2022
ezyang added a commit that referenced this pull request Nov 12, 2022
Obsoletes #88772

Mostly revolves around NOT assuming that the inside is a SymNode,
but instead duck-typed to be a SymNode.

Signed-off-by: Edward Z. Yang <ezyangfb.com>

ghstack-source-id: 47c673c78f934e8cf59eca3e20179b1b833431e8
Pull Request resolved: #88928
@ezyang
Copy link
Contributor Author

ezyang commented Nov 12, 2022

There's also some C++ related sym_int cleanup too now.

@ezyang
Copy link
Contributor Author

ezyang commented Nov 13, 2022

@pytorchbot merge -f "flaky ci only"

@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

@jinyouzhi
Copy link
Contributor

Since all UT passed and no conflicts, can anyone help to merge it? thanks

kulinseth pushed a commit to kulinseth/pytorch that referenced this pull request Dec 10, 2022
Obsoletes pytorch#88772

Mostly revolves around NOT assuming that the inside is a SymNode,
but instead duck-typed to be a SymNode.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Pull Request resolved: pytorch#88928
Approved by: https://github.com/SherlockNoMad
@facebook-github-bot facebook-github-bot deleted the gh/ezyang/1519/head branch June 8, 2023 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: composability release notes category release notes: jit release notes category topic: bug fixes topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants