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

remove d2h sync from keyed jagged index select #2315

Closed
wants to merge 1 commit into from

Conversation

joshuadeng
Copy link
Contributor

Summary: Add option to provide output length for values if known to avoid D to H sync. For permutation cases using keyed jagged index select where batch size. == len(lengths), the output length will be known to be len(values).

Differential Revision: D53461566

Copy link

netlify bot commented Feb 6, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit c327fca
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/65c3c3bd8f94eb0008903ec0
😎 Deploy Preview https://deploy-preview-2315--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@facebook-github-bot
Copy link
Contributor

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

joshuadeng added a commit to joshuadeng/FBGEMM that referenced this pull request Feb 7, 2024
Summary:

Add option to provide output length for values if known to avoid D to H sync. For permutation cases using keyed jagged index select where batch size. == len(lengths), the output length will be known to be len(values).

Reviewed By: sryap

Differential Revision: D53461566
@facebook-github-bot
Copy link
Contributor

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

joshuadeng added a commit to joshuadeng/FBGEMM that referenced this pull request Feb 7, 2024
Summary:

Add option to provide output length for values if known to avoid D to H sync. For permutation cases using keyed jagged index select where batch size. == len(lengths), the output length will be known to be len(values).

Reviewed By: sryap

Differential Revision: D53461566
@facebook-github-bot
Copy link
Contributor

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

Summary:
Pull Request resolved: pytorch#2315

Add option to provide output length for values if known to avoid D to H sync. For permutation cases using keyed jagged index select where batch size. == len(lengths), the output length will be known to be len(values).

Reviewed By: sryap

Differential Revision: D53461566

fbshipit-source-id: 1f88f5f5dbe367acb0a4c115b3bd3e8cb42c7e62
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in e80d507.

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

2 participants