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

Work around masked_select for numel > MAX_INT #2648

Closed
wants to merge 6 commits into from

Conversation

sryap
Copy link
Contributor

@sryap sryap commented May 30, 2024

Summary:
PyTorch's GPU masked_select does not support an input tensor that
has numel > MAX_INT. This diff works around this issue by using CPU
masked_select instead. Note that this is just a temporary solution.

Differential Revision: D57594252

joshuadeng and others added 6 commits May 30, 2024 09:56
Differential Revision: D57983863
Differential Revision: D56578193
Differential Revision: D56619465
Differential Revision: D56652728
Summary:
PyTorch's GPU `masked_select` does not support an input tensor that
has numel > MAX_INT.  This diff works around this issue by using CPU
`masked_select` instead.  Note that this is just a temporary solution.

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

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

Copy link

netlify bot commented May 30, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 6e9cd32
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/6658ef2535b85f00086799b9
😎 Deploy Preview https://deploy-preview-2648--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 has been merged in 0fad083.

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

3 participants