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

export.py: fix custom SDPA type conversion logic & re-enable for bfloat16 #1171

Merged
merged 5 commits into from
Sep 24, 2024

Conversation

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Sep 20, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 4831e83 with merge base 2cf4016 (image):
💚 Looks good so far! There are no failures yet. 💚

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

swolchok added a commit that referenced this pull request Sep 20, 2024
…at16

q.dtype is always torch.float at this point. Clearly meant to use the input dtype.

ghstack-source-id: b4949c876013e3d542aa0452c72ee43274448bf0
Pull Request resolved: #1171
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 20, 2024
[ghstack-poisoned]
swolchok added a commit that referenced this pull request Sep 23, 2024
…at16

q.dtype is always torch.float at this point. Clearly meant to use the input dtype.

ghstack-source-id: 8cb3a02f246822f66e9d0ac8294890b536aa4059
Pull Request resolved: #1171
[ghstack-poisoned]
swolchok added a commit that referenced this pull request Sep 23, 2024
…at16

q.dtype is always torch.float at this point. Clearly meant to use the input dtype.

ghstack-source-id: 0a2f4182a2101b1f2ee96d1671a2f55b2d7b7b1d
Pull Request resolved: #1171
[ghstack-poisoned]
swolchok added a commit that referenced this pull request Sep 24, 2024
…at16

q.dtype is always torch.float at this point. Clearly meant to use the input dtype.

ghstack-source-id: a132d7b7a2d22c8ef097742a97df4266524691e8
Pull Request resolved: #1171
[ghstack-poisoned]
swolchok added a commit that referenced this pull request Sep 24, 2024
…at16

q.dtype is always torch.float at this point. Clearly meant to use the input dtype.

ghstack-source-id: 2c002e37914c93b74a56996ea8bfdce6042e4f3f
Pull Request resolved: #1171
@swolchok swolchok merged commit 4831e83 into gh/swolchok/4/base Sep 24, 2024
51 checks passed
@swolchok
Copy link
Contributor Author

Ugh, some ghstack learning pains on my end here.

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 Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants