Skip to content
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

Dev 3.1.0 #720

Merged
merged 30 commits into from
Mar 6, 2024
Merged

Dev 3.1.0 #720

merged 30 commits into from
Mar 6, 2024

Conversation

sagewe
Copy link
Contributor

@sagewe sagewe commented Feb 29, 2024

Merge dev-3.1.0 to main

Changes:

  1. add 2.x api backport support

2.bug fix

sagewe and others added 30 commits January 10, 2024 19:58
create WrappedXX class to mimic old eggroll api

Signed-off-by: sagewe <wbwmat@gmail.com>
- Introduced `random` and `typing` (Callable, Iterable, Any, Tuple) imports for advanced operations and type hinting.
- Added comprehensive methods to WrappedRp class including `delete`, `count`, `get_all`, `put_all`, `take`, `first`, `destroy`, and various map-reduce functions.
- Implemented serialization and deserialization support using UnrestrictedSerdes for robust data handling.
- Extended map-reduce capabilities with custom partition operations, sampling, filtering, repartitioning, and binary operations on sorted partitions.
- Included specialized merge functions for union, join, and subtract operations on keys.
- Organized and optimized functions with private utility methods for serialization and iteration processing.
- Ensured compatibility and efficiency with thoughtful error handling and condition checks.

Signed-off-by: sagewe <wbwmat@gmail.com>
1. impl rollsite wrap
2. add monkey patch to patch package import use custom package loader
3. refactor some class

Signed-off-by: sagewe <wbwmat@gmail.com>
since eggroll 2.x use protobuf version is 3.x while eggroll 3.x use protobuf version 4.x, we need a way to import packages generated with correct version.

since we introduce custom package loader before, we can achieve goals by

1. regenerate proto files with protobuf 3.x to backport directory
2. insert custom package loader to the meta_path head to make sure import of 'eggroll.core.proto' can be hijacked

Signed-off-by: sagewe <wbwmat@gmail.com>
use `EGGROLL_2X_BACKPORT` env to enable backport and python/eggroll/backport directory can safety delete if you don't need this feature.

Signed-off-by: sagewe <wbwmat@gmail.com>
1. add some missing requirements to requirements.txt
2. add requirements-2.x.txt for backport situation since protobuf version is different

Signed-off-by: sagewe <wbwmat@gmail.com>
Signed-off-by: sagewe <wbwmat@gmail.com>
Signed-off-by: sagewe <wbwmat@gmail.com>
Signed-off-by: sagewe <wbwmat@gmail.com>
Signed-off-by: sagewe <wbwmat@gmail.com>
Signed-off-by: sagewe <wbwmat@gmail.com>
Signed-off-by: sagewe <wbwmat@gmail.com>
Signed-off-by: sagewe <wbwmat@gmail.com>
Signed-off-by: v_wbxiongli <740332065@qq.com>
Signed-off-by: sagewe <wbwmat@gmail.com>
backport eggroll 2.x to support FATE-1.x
Signed-off-by: Xiongli <740332065@qq.com>
Signed-off-by: v_wbxiongli <740332065@qq.com>
Signed-off-by: sagewe <wbwmat@gmail.com>
Signed-off-by: sagewe <wbwmat@gmail.com>
@mgqa34 mgqa34 merged commit 7b9af09 into main Mar 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants