Skip to content

[ExecuTorch] Use parallel_for in bfloat16 gemm_transa_ kernel #5248

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 11 commits into from

Conversation

swolchok
Copy link
Contributor

@swolchok swolchok commented Sep 10, 2024

Stack from ghstack (oldest at bottom):

The upstream kernel uses this, I just didn't port it at first.

Differential Revision: D62154262

The upstream kernel uses this, I just didn't port it at first.

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Sep 10, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 97e0265 with merge base 1793c4a (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 Sep 10, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62154262

…nel"

The upstream kernel uses this, I just didn't port it at first.

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62154262

@swolchok
Copy link
Contributor Author

cmake builds are failing because cmake doesn't automatically pull transitive deps properly; they need pthreadpool :(

…nel"

The upstream kernel uses this, I just didn't port it at first.

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62154262

swolchok added a commit that referenced this pull request Sep 11, 2024
Pull Request resolved: #5248

The upstream kernel uses this, I just didn't port it at first.
ghstack-source-id: 242067824
@exported-using-ghexport

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)
@swolchok
Copy link
Contributor Author

apparently the threadpool is supposed to be optional at build time?

…nel"

The upstream kernel uses this, I just didn't port it at first.

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62154262

swolchok added a commit that referenced this pull request Sep 11, 2024
Pull Request resolved: #5248

The upstream kernel uses this, I just didn't port it at first.
ghstack-source-id: 242074917
@exported-using-ghexport

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)
…nel"

The upstream kernel uses this, I just didn't port it at first.

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62154262

swolchok added a commit that referenced this pull request Sep 11, 2024
Pull Request resolved: #5248

The upstream kernel uses this, I just didn't port it at first.
ghstack-source-id: 242078299
@exported-using-ghexport

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)
…nel"

The upstream kernel uses this, I just didn't port it at first.

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62154262

]
deps = [
"executorch",
"pthreadpool",
Copy link
Contributor

Choose a reason for hiding this comment

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

Delete this line

…nel"

The upstream kernel uses this, I just didn't port it at first.

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)

[ghstack-poisoned]
swolchok added a commit that referenced this pull request Sep 12, 2024
Pull Request resolved: #5248

The upstream kernel uses this, I just didn't port it at first.
ghstack-source-id: 242278002
@exported-using-ghexport

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62154262

…nel"

The upstream kernel uses this, I just didn't port it at first.

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62154262

swolchok added a commit that referenced this pull request Sep 12, 2024
Pull Request resolved: #5248

The upstream kernel uses this, I just didn't port it at first.
ghstack-source-id: 242303807
@exported-using-ghexport

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)
…nel"

The upstream kernel uses this, I just didn't port it at first.

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62154262

swolchok added a commit that referenced this pull request Sep 12, 2024
Pull Request resolved: #5248

The upstream kernel uses this, I just didn't port it at first.
ghstack-source-id: 242322409
@exported-using-ghexport

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)
…nel"

The upstream kernel uses this, I just didn't port it at first.

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)

[ghstack-poisoned]
swolchok added a commit that referenced this pull request Sep 13, 2024
Pull Request resolved: #5248

The upstream kernel uses this, I just didn't port it at first.
ghstack-source-id: 242333678
@exported-using-ghexport

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62154262

…nel"

The upstream kernel uses this, I just didn't port it at first.

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62154262

swolchok added a commit that referenced this pull request Sep 13, 2024
Pull Request resolved: #5248

The upstream kernel uses this, I just didn't port it at first.
ghstack-source-id: 242411944
@exported-using-ghexport

Differential Revision: [D62154262](https://our.internmc.facebook.com/intern/diff/D62154262/)
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6d1a573.

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. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants