Skip to content

Bug fix to disable lower recomposed sdpa #4211

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

Closed
wants to merge 1 commit into from

Conversation

guangy10
Copy link
Contributor

No description provided.

@guangy10 guangy10 requested review from digantdesai and mcr229 July 11, 2024 16:48
Copy link

pytorch-bot bot commented Jul 11, 2024

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit 31b3a85 with merge base 63e8025 (image):
💚 Looks good so far! There are no failures yet. 💚

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 Jul 11, 2024
@facebook-github-bot
Copy link
Contributor

@guangy10 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Copy link
Contributor

@digantdesai digantdesai left a comment

Choose a reason for hiding this comment

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

Thanks.

@guangy10 guangy10 force-pushed the bug_fix_xnnpack_partitioner branch from 7900b4a to 31b3a85 Compare July 11, 2024 18:15
@guangy10
Copy link
Contributor Author

Fix linter

@facebook-github-bot
Copy link
Contributor

@guangy10 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@@ -869,7 +869,9 @@ def __init__(
self.quant = quant

# TODO(T174256335) - remove this once we have a better way to handle >2d Mask
self._lower_recomposed_sdpa: bool = _lower_recomposed_sdpa or True
self._lower_recomposed_sdpa: bool = (
_lower_recomposed_sdpa if _lower_recomposed_sdpa is not None else True
Copy link
Contributor

Choose a reason for hiding this comment

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

I never tested the False case ;)

@facebook-github-bot
Copy link
Contributor

@guangy10 merged this pull request in b7df20d.

@guangy10 guangy10 deleted the bug_fix_xnnpack_partitioner branch August 21, 2024 21:04
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. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants