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

[inductor] Fix shape mismatch in sdpa pattern matcher #115038

Closed
wants to merge 1 commit into from

Conversation

Copy link

pytorch-bot bot commented Dec 3, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit f100b3e with merge base 32b928e (image):
💚 Looks good so far! There are no failures yet. 💚

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

jansel added a commit that referenced this pull request Dec 3, 2023
Fixes #100316

ghstack-source-id: 7ae9775479b650cd6b211955d651eaacd7afd2e8
Pull Request resolved: #115038
@jansel jansel added release notes: inductor ciflow/trunk Trigger trunk jobs on your pull request labels Dec 3, 2023
specific_graph = trace_fn(search_fn, args)
except RuntimeError as e:
log.info(
"Replacement pattern %s failed to apply due to shape mismatch: %s",
Copy link
Contributor

Choose a reason for hiding this comment

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

Is shape mismatch the only exception that could be thrown here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should be, since we already passed the shape-agnostic match.

@jansel
Copy link
Contributor Author

jansel commented Dec 3, 2023

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

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

@facebook-github-bot facebook-github-bot deleted the gh/jansel/198/head branch December 7, 2023 15:27
hyperfraise pushed a commit to hyperfraise/pytorch that referenced this pull request Dec 21, 2023
hyperfraise pushed a commit to hyperfraise/pytorch that referenced this pull request Dec 21, 2023
ZhiweiYan-96 pushed a commit to ZhiweiYan-96/pytorch that referenced this pull request Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants