Skip to content

Conversation

@benjaminglass1
Copy link
Collaborator

@benjaminglass1 benjaminglass1 commented Aug 23, 2024

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Aug 23, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/134335

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 81ac187 with merge base 9012e7a (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

benjaminglass1 added a commit that referenced this pull request Aug 23, 2024
@benjaminglass1
Copy link
Collaborator Author

These tests appear to have failed because the mask completely masked out one full row of the data arrays, and the sparse_csr_tensor function incorrectly guessed the size as one row less in those cases. This PR specifies the desired size for the output tensor so that these tests will succeed.

@benjaminglass1 benjaminglass1 requested a review from amjames August 23, 2024 15:19
[ghstack-poisoned]
Copy link
Collaborator

@amjames amjames left a comment

Choose a reason for hiding this comment

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

Looks good. Nice catch.

@amjames amjames marked this pull request as ready for review August 23, 2024 20:28
@amjames amjames added the module: sparse Related to torch.sparse label Aug 23, 2024
@amjames amjames requested a review from cpuhrsch August 23, 2024 20:29
@amjames
Copy link
Collaborator

amjames commented Aug 23, 2024

Labeling this as sparse since I couldn't find a better label for MaskedTensor 🤷

[ghstack-poisoned]
benjaminglass1 added a commit that referenced this pull request Aug 23, 2024
@benjaminglass1
Copy link
Collaborator Author

Fixed the lint error.

@benjaminglass1
Copy link
Collaborator Author

@pytorchbot rebase

@benjaminglass1 benjaminglass1 added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 5, 2024
@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

[ghstack-poisoned]
@pytorchmergebot
Copy link
Collaborator

Successfully rebased gh/benjaminglass1/5/orig onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via ghstack checkout https://github.com/pytorch/pytorch/pull/134335)

pytorchmergebot pushed a commit that referenced this pull request Sep 5, 2024
@benjaminglass1 benjaminglass1 added the release notes: sparse release notes category label Sep 5, 2024
@benjaminglass1 benjaminglass1 self-assigned this Oct 3, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2024

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@benjaminglass1
Copy link
Collaborator Author

@pytorchbot rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

[ghstack-poisoned]
@pytorchmergebot
Copy link
Collaborator

Successfully rebased gh/benjaminglass1/5/orig onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via ghstack checkout https://github.com/pytorch/pytorch/pull/134335)

pytorchmergebot pushed a commit that referenced this pull request Dec 2, 2024
@cpuhrsch
Copy link
Contributor

cpuhrsch commented Dec 3, 2024

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged module: sparse Related to torch.sparse open source release notes: sparse release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants