Skip to content

Conversation

@magnatelee
Copy link
Contributor

Tensor contraction tasks (matmul, matvecmul, and contract) were overwriting the LHS even though the LHS was passed as a reduction store. This was causing nondeterministic correctness issues. This PR fixes that issue.

@magnatelee magnatelee added the category:bug-fix PR is a bug fix and will be classified as such in release notes label Feb 16, 2023
@magnatelee magnatelee requested a review from manopapad February 16, 2023 07:29
@lightsighter
Copy link
Contributor

Do you maybe want to call it lhs_reduction instead of lhs_readable? Technically you're still reading it in the reduction mode.

@magnatelee
Copy link
Contributor Author

Do you maybe want to call it lhs_reduction instead of lhs_readable? Technically you're still reading it in the reduction mode.

I'll actually rename it to lhs_overwritable.

@magnatelee
Copy link
Contributor Author

Merging this PR without making it go through the CI, as it's broken more than a week now...

@magnatelee magnatelee merged commit d2a6bf8 into nv-legate:branch-23.03 Feb 21, 2023
@magnatelee magnatelee deleted the reduction-fix branch February 21, 2023 21:47
shixun404 pushed a commit to shixun404/cupynumeric that referenced this pull request Sep 18, 2025
* Update array_dimension.py

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

Labels

category:bug-fix PR is a bug fix and will be classified as such in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants