-
Notifications
You must be signed in to change notification settings - Fork 65
Features/unique sort distributed #749
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
Draft
ClaudiaComito
wants to merge
110
commits into
main
Choose a base branch
from
features/unique-sort-distributed
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
110 commits
Select commit
Hold shift + click to select a range
976bec2
Modify get_halo to work with non-balanced DNDarray
ClaudiaComito 1d5c3b6
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito 30b3ec3
Create lshape_map without communication if DNDarray is balanced.
ClaudiaComito db4ebed
in-place resplit to work in imbalanced DNDarrays as well
ClaudiaComito 060b48a
Implement distributed unique, return inverse indices
ClaudiaComito 1a27f45
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito 1d9f71f
Debugging unique
ClaudiaComito 77fb0d4
Fix error in counts, displs for unbalanced resplit_(None)
ClaudiaComito 63c96c4
Fix error in counts, displs for unbalanced resplit_(None)
ClaudiaComito a6620da
Fix imbalanced resplit()
ClaudiaComito 1fe8428
Debugging unique
ClaudiaComito 8dd0d82
Fix incoming_offset error in sparse unique
ClaudiaComito c35c72a
Updated documentation, fixed some split errors.
ClaudiaComito ae56b86
Skip non-populated ranks in imbalanced gethalo
ClaudiaComito fa597a8
Merge changes to reduce_op
ClaudiaComito 39050f0
Modify tests for imbalanced gethalo()
ClaudiaComito e57235a
Generalize sort() implementation into helper function _pivot_sorting …
ClaudiaComito 20a9930
Update test_unique based on new distributed implementation
ClaudiaComito 9290c40
Fix write-out bug in MPI ring
ClaudiaComito 79e6219
Expand "dense unique" tests
ClaudiaComito 8123b6a
Expand test_unique
ClaudiaComito 19442fc
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito 290f11d
minimize boiler-plate code in test_unique
ClaudiaComito f5af549
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito 4bed18a
remove excess ###
ClaudiaComito 2c2aa6e
Debugging
ClaudiaComito 5a2e592
Debugging
ClaudiaComito 3c068e7
Debugging
ClaudiaComito 3d6a02b
Debugging
ClaudiaComito b4b4763
Fix empty Allgather problem
ClaudiaComito d8f73ea
Debugging
ClaudiaComito f4b7f03
Skip second local torch.unique if local tensor is empty
ClaudiaComito fc8cc5f
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito eb57b5e
Expand tests, fix spit inconsistencies
ClaudiaComito 32b8857
Fix inverse indices dtype in non-distributed case
ClaudiaComito a575223
Test NonImplementedError exception in distributed case only
ClaudiaComito 2cba6cc
Fix lshape_map of local sorted uniques when nodes are empty
ClaudiaComito 68eb57c
Set dndarray.__balanced to `balanced`, not None
ClaudiaComito 519c020
Remove `sorted` option from ht.unique()
ClaudiaComito edc12ef
Merge branch 'bug/sort-balance' into features/unique-sort-distributed
ClaudiaComito c5de73f
Fix race condition in test_qr
ClaudiaComito 1964cc8
Fix prev_rank/next_rank indices for imbalanced gethalo, expand tests
ClaudiaComito dd9b797
Update changelog
ClaudiaComito 50876a5
Documentation update
ClaudiaComito 906c804
Update changelog
ClaudiaComito b40193f
Merge branch 'release/1.0.x' into features/unique-sort-distributed
ClaudiaComito 4163882
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito 9f85dac
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito 96211ed
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito 519b875
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito 7a6944f
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito eb266df
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito 4aaf893
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito 1ed4708
Replace explicit `counts, displs` calculation with `dndarray.counts_d…
ClaudiaComito f2611b6
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito 723b37a
Address review, part I
ClaudiaComito f5e360c
Address review Part II of II
ClaudiaComito 2753bfe
Reshape empty `local_sorted` to match global shape
ClaudiaComito b3de8c6
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito bfa58ba
GPU Debugging
ClaudiaComito 68d437d
Debug devices
ClaudiaComito 1cfd565
Debug tensor devices
ClaudiaComito 1f6cec2
Debug tensor devices
ClaudiaComito f923834
Specify device for torch `_like` factories
ClaudiaComito 34667c8
Specify device for all torch _like factories
ClaudiaComito e1c28c5
Devices
ClaudiaComito 1ca6ceb
Add more missing devices
ClaudiaComito 209d5d3
Replace np.cumsum calls with torch.cumsum
ClaudiaComito 01281cc
Debug test_sort on GPU
ClaudiaComito badd041
Remove print (debugging) statements
ClaudiaComito 369203e
Set up memory profiling
ClaudiaComito 3bf5e03
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito db77a91
Merge branch 'master' into features/unique-sort-distributed
coquelin77 28bccf6
Merge branch 'features/unique-sort-distributed' of github.com:helmhol…
ClaudiaComito 1e12ca3
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito b46924d
Improve efficiency, adopt `dndarray.lshape_map` and `dndarray.counts_…
ClaudiaComito e5a713c
Comment out memory_profiler import
ClaudiaComito 690f9e0
Remove redundant split sanitation from self.comm.chunk
ClaudiaComito dc2672f
Do not clone obj[slices] if copy is False. Remove unnecessary split s…
ClaudiaComito 49efd0a
Improve memory usage for sanitize_memory_layout
ClaudiaComito 1bf8d66
Reorganize sanitation logic
ClaudiaComito 3a91bca
Remove "sparse unique" implementation
ClaudiaComito 10354b7
Specify factories.array(copy=False)
ClaudiaComito 0ea2c3a
Always copy obj if specified dtype is different from original dtype
ClaudiaComito f809c95
Copy obj when specified dtype different from original
ClaudiaComito d124819
Copy output of torch.diagonal (partial view)
ClaudiaComito a4dd4d4
remove dead code
ClaudiaComito 16318ef
Debugging GPU error
ClaudiaComito 07b6fb1
Debugging test_sort on GPU
ClaudiaComito 5cd0b8c
Make test_sort more stable incl. for GPUs
ClaudiaComito 90b0d71
Debug GPU test_sort
ClaudiaComito 7aa51ae
Degug test_sort on GPU
ClaudiaComito dbce096
Debug test_sort on GPU
ClaudiaComito f615ade
Debug test_sort on GPU
ClaudiaComito ea0aab4
Debug
ClaudiaComito 152fc55
Debug
ClaudiaComito bfe38ed
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito 3939564
Debugging
ClaudiaComito a27f7f8
Debugging
ClaudiaComito f0f7926
Do not test sorting indices on GPU if sorting non-unique values
ClaudiaComito 73c914d
Expand test_sort to 3d
ClaudiaComito b972a3a
Expand test_sort for empty-node case
ClaudiaComito 6daa7c2
Remove size-1 test in test_sort
ClaudiaComito 96f5d9d
Update changelog
ClaudiaComito 6a41a9c
Remove dead code
ClaudiaComito 6007d31
Reinstate "sparse" unique
ClaudiaComito ec0684c
Remove unnecessary `balance_` before distributed `unique`
ClaudiaComito 924fcd3
Merge branch 'master' into features/unique-sort-distributed
ClaudiaComito 6d385e8
Bring back `factories.array` to original state, changes forked to ded…
ClaudiaComito 159d1c5
Merge branch 'master' into features/unique-sort-distributed
coquelin77 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.