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 nonzeros stride error. #1366

Merged
merged 2 commits into from
Feb 19, 2025
Merged

Fix nonzeros stride error. #1366

merged 2 commits into from
Feb 19, 2025

Conversation

xiaowangintel
Copy link
Contributor

Fix nonzeros stride error found in pytorch/pytorch#146883.

Comment on lines 147 to 149
// if (tensor.data_ptr() != tensor_.data_ptr()) {
// tensor.copy_(tensor_);
//}
Copy link
Contributor

Choose a reason for hiding this comment

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

Since the code block is invalid, pls. remove it and its comment directly.

@xytintel
Copy link
Contributor

Please add test case

@xytintel xytintel added this pull request to the merge queue Feb 19, 2025
Merged via the queue into main with commit d9918c6 Feb 19, 2025
8 checks passed
@xytintel xytintel deleted the xw/nonzeros_error branch February 19, 2025 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants