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

Fix specailization issue in keyed_jagged_index_select_dim1_forward_cuda #3578

Closed
wants to merge 1 commit into from

Conversation

Microve
Copy link
Contributor

@Microve Microve commented Jan 16, 2025

Summary:
lengths is a tensor with symbolic shapes. Calling len on it will force specialization on it which will cause data dependent failure as shown below:
{F1974383976}

tlparse: https://fburl.com/74rjmr8e

The fix is to replace len with equivalent operations which support symbolic shapes.

Differential Revision: D67491452

@facebook-github-bot
Copy link
Contributor

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

Copy link

netlify bot commented Jan 16, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 66911dc
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/67899dc4215b7d0008fe7976
😎 Deploy Preview https://deploy-preview-3578--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.

…da (pytorch#3578)

Summary:
X-link: facebookresearch/FBGEMM#664


`lengths` is a tensor with symbolic shapes. Calling `len` on it will force specialization on it which will cause data dependent failure as shown below:
 {F1974383976} 

tlparse: https://fburl.com/74rjmr8e

The fix is to replace `len` with equivalent operations which support symbolic shapes.

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 21d1260.

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.

2 participants