-
Notifications
You must be signed in to change notification settings - Fork 154
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: Dense OOC Concat With Aligned Elements Memory Issue #1169
Fix: Dense OOC Concat With Aligned Elements Memory Issue #1169
Conversation
for more information, see https://pre-commit.ci
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1169 +/- ##
==========================================
- Coverage 84.97% 82.79% -2.19%
==========================================
Files 36 36
Lines 5364 5364
==========================================
- Hits 4558 4441 -117
- Misses 806 923 +117
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@selmanozleyen, could you make a quick demonstration of the performance benefits from this? |
Hey, I modified the fix as it seemed like it would expand to more cases (e.g. when they are all not the same). The changes on results can be seen from the tutorial notebook scverse/anndata-tutorials@b12e539#r1349746130 |
From previous discussion about this, my impression was that I will try and take a look, but it looks to me like these changes could be coming from the use of |
I see, I initially tried that but it didn't work for some reason. If I switch to main branch the results would be the same as the bad one. |
That tracks with the documentation:
No word of reusing the array chunks. |
…d Elements Memory Issue) (#1179) Co-authored-by: Selman Özleyen <[email protected]>
@flying-sheep, shouldn't this get a release note and a test? |
Please see scverse/anndata-tutorials#18 (comment). This PR should fix this memory issue.
Ping: @ivirshup @flying-sheep