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
Fixes bug in sspaddmm (#45113) #45963
Conversation
- Fixed bug in sspaddmm by calling contiguous on indices
6b65d01
to
bd1f4f8
Compare
…v-5/issue-45113
@ngimel thanks for the review. I rework the tests as you suggested. |
Codecov Report
@@ Coverage Diff @@
## master #45963 +/- ##
=======================================
Coverage 68.20% 68.20%
=======================================
Files 410 410
Lines 53453 53453
=======================================
+ Hits 36457 36458 +1
+ Misses 16996 16995 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
💊 CI failures summary and remediationsAs of commit ba5fdfc (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group. This comment has been revised 3 times. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint failure is real, otherwise looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ngimel has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Fixes #45113
Description:
We have to make indices contiguous as we use
indices.data_ptr
in_to_csr
which assumes row-contiguous storage:pytorch/aten/src/ATen/native/sparse/SparseTensorMath.cpp
Lines 1087 to 1090 in be45c34