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

all_to_one cuda support non-2d inputs #2575

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

IvanKobzarev
Copy link

Summary:
Support non-2d tensors in all_to_one.
Sometimes torchrec outputs are empty tensors.

This can be solved on python module side guarding empty tensors, but we d better not to have shape dependent logic for PT2 tracing.

Differential Revision: D57180617

@facebook-github-bot
Copy link
Contributor

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

Copy link

netlify bot commented May 9, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 2e5438a
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/663d419e7e36790008a55833
😎 Deploy Preview https://deploy-preview-2575--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.

IvanKobzarev pushed a commit to IvanKobzarev/FBGEMM that referenced this pull request May 9, 2024
Summary:

Support non-2d tensors in all_to_one.
Sometimes torchrec outputs are empty tensors.

This can be solved on python module side guarding empty tensors, but we d better not to have shape dependent logic for PT2 tracing.

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

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

IvanKobzarev pushed a commit to IvanKobzarev/FBGEMM that referenced this pull request May 9, 2024
Summary:

Support non-2d tensors in all_to_one.
Sometimes torchrec outputs are empty tensors.

This can be solved on python module side guarding empty tensors, but we d better not to have shape dependent logic for PT2 tracing.

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

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

Summary:

Support non-2d tensors in all_to_one.
Sometimes torchrec outputs are empty tensors.

This can be solved on python module side guarding empty tensors, but we d better not to have shape dependent logic for PT2 tracing.

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

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

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