-
Notifications
You must be signed in to change notification settings - Fork 9
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
FEAT-#285: Implement shared object storage for MPI backend #286
Merged
Merged
Changes from 31 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
b398b0c
FEAT-#308: Add monitor to each host in the cluster
Retribution98 baa8830
Fix for MPI before than 3.0
251e6c8
Add docs strings
603f75a
Fix spawn processes
312bb9b
Apply suggestions from code review
Retribution98 d1c0a91
FEAT-#285: Implement shared storage
Retribution98 9ae5cd3
Add shared store
6c5b934
Fix review
Retribution98 0c4d649
Fix rebase
Retribution98 18ad2c6
Add cleanup shared memory
Retribution98 1029400
Fix cluster problems
7966a14
Fix HM benchmark
06510c2
Fix python 3.8
327cef0
Fix rebase
Retribution98 5aa9743
Refactoring
Retribution98 999db6b
Apply suggestions from code review
YarShev 6f19e48
Update unidist/core/backends/mpi/core/communication.py
YarShev c456533
Fix imports
YarShev 96f9a2d
Correct names
YarShev c30998a
Code review fixes
Retribution98 eb4f120
Apply suggestions from code review
YarShev 663b480
Apply suggestions from code review
YarShev c929d45
Changes after code review
Retribution98 ab603d5
Apply suggestions from code review
YarShev 8c9425c
Apply suggestions from code review
YarShev f2d55e0
Several fixes
Retribution98 fbc9620
Update the configs
YarShev 4892ee1
Add docs for shared object store
YarShev 155f942
Update docs/flow/unidist/core/backends/mpi/core/shared_object_store.rst
YarShev 5dac7d6
Add parallel_memcopy
Retribution98 c31d4f0
Introduce some optimizations
YarShev 7f9bee5
One more changes
Retribution98 4d76657
Fix UNIDIST_MPI_SHARED_OBJECT_STORE=False
Retribution98 4cd63fe
Apply suggestions from code review
Retribution98 bab0935
some fixes
Retribution98 a0f6020
some fixed
Retribution98 0885c21
Fix tests
YarShev 899d072
fix tests
Retribution98 1f6f567
Fix some tests, run both modes
YarShev 201d77e
Run CI on openmpi
YarShev f6ff6b0
Revert a change
YarShev 6735f8a
Update unidist/test/utils.py
YarShev cdfb8a0
Fix tests
YarShev 60bf78f
Fix for small number of CPUs
YarShev 66edabd
Separate run
YarShev 77f40f1
Small refactor
YarShev 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 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 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
15 changes: 15 additions & 0 deletions
15
docs/flow/unidist/core/backends/mpi/core/async_operations.rst
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.. | ||
Copyright (C) 2021-2023 Modin authors | ||
|
||
SPDX-License-Identifier: Apache-2.0 | ||
|
||
:orphan: | ||
|
||
Async Operations | ||
"""""""""""""""" | ||
|
||
API | ||
=== | ||
|
||
.. autoclass:: unidist.core.backends.mpi.core.async_operations.AsyncOperations | ||
:members: |
This file contains 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
19 changes: 19 additions & 0 deletions
19
docs/flow/unidist/core/backends/mpi/core/local_object_store.rst
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.. | ||
Copyright (C) 2021-2023 Modin authors | ||
|
||
SPDX-License-Identifier: Apache-2.0 | ||
|
||
:orphan: | ||
|
||
Local Object Store | ||
================== | ||
|
||
MPI :py:class:`~unidist.core.backends.mpi.core.local_object_store.LocalObjectStore` stores data in-process memory in a local dict. | ||
In depend on :class:`~unidist.config.backends.mpi.envvars.MpiSharedObjectStoreThreshold``, | ||
data can be stored in :py:class:`~unidist.core.backends.mpi.core.shared_object_store.SharedObjectStore`. | ||
|
||
API | ||
=== | ||
|
||
.. autoclass:: unidist.core.backends.mpi.core.local_object_store.LocalObjectStore | ||
:members: |
19 changes: 19 additions & 0 deletions
19
docs/flow/unidist/core/backends/mpi/core/shared_object_store.rst
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.. | ||
Copyright (C) 2021-2023 Modin authors | ||
|
||
SPDX-License-Identifier: Apache-2.0 | ||
|
||
:orphan: | ||
|
||
Shared Object Store | ||
=================== | ||
|
||
MPI :py:class:`~unidist.core.backends.mpi.core.shared_object_store.SharedObjectStore` stores data in the shared object store. | ||
In depend on :class:`~unidist.config.backends.mpi.envvars.MpiSharedObjectStoreThreshold``, | ||
data can be stored in :py:class:`~unidist.core.backends.mpi.core.local_object_store.LocalObjectStore`. | ||
|
||
API | ||
=== | ||
|
||
.. autoclass:: unidist.core.backends.mpi.core.shared_object_store.SharedObjectStore | ||
:members: |
This file contains 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 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 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 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 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.
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.
Docs for new entities (shared store, shared manager, etc.) should be added too.
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.
in a separate pr
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.
#336