-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #720 from FederatedAI/dev-3.1.0
Dev 3.1.0
- Loading branch information
Showing
58 changed files
with
7,401 additions
and
22 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
eggroll.version=3.0.0 | ||
eggroll.version=3.1.0 |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
result=$(nvidia-smi --query-gpu=name --format=csv, noheader|grep 'NVIDIA'|wc -l) | ||
result=$(python $EGGROLL_HOME/python/eggroll/deepspeed/utils/gpu_count.py) | ||
echo $result | ||
|
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,138 @@ | ||
{ | ||
"builtins": [ | ||
"int", | ||
"list", | ||
"set" | ||
], | ||
"collections": [ | ||
"defaultdict", | ||
"OrderedDict" | ||
], | ||
"eggroll.core.transfer_model": [ | ||
"ErRollSiteHeader" | ||
], | ||
"eggroll.roll_pair.task.storage": [ | ||
"BSS" | ||
], | ||
"federatedml.cipher_compressor.compressor": [ | ||
"PackingCipherTensor", | ||
"NormalCipherPackage", | ||
"PackingCipherTensorPackage" | ||
], | ||
"federatedml.ensemble.basic_algorithms.decision_tree.tree_core.feature_histogram": [ | ||
"HistogramBag", | ||
"FeatureHistogramWeights" | ||
], | ||
"federatedml.ensemble.basic_algorithms.decision_tree.tree_core.feature_importance": [ | ||
"FeatureImportance" | ||
], | ||
"federatedml.ensemble.basic_algorithms.decision_tree.tree_core.g_h_optim": [ | ||
"SplitInfoPackage", | ||
"SplitInfoPackage2" | ||
], | ||
"federatedml.ensemble.basic_algorithms.decision_tree.tree_core.node": [ | ||
"Node" | ||
], | ||
"federatedml.ensemble.basic_algorithms.decision_tree.tree_core.splitter": [ | ||
"SplitInfo" | ||
], | ||
"federatedml.evaluation.performance_recorder": [ | ||
"PerformanceRecorder" | ||
], | ||
"federatedml.feature.binning.bin_result": [ | ||
"BinColResults" | ||
], | ||
"federatedml.feature.binning.optimal_binning.bucket_info": [ | ||
"Bucket" | ||
], | ||
"federatedml.feature.binning.optimal_binning.heap": [ | ||
"MinHeap", | ||
"IvHeapNode", | ||
"GiniHeapNode", | ||
"ChiSquareHeapNode" | ||
], | ||
"federatedml.feature.binning.quantile_summaries": [ | ||
"SparseQuantileSummaries", | ||
"Stats", | ||
"QuantileSummaries" | ||
], | ||
"federatedml.feature.fate_element_type": [ | ||
"NoneType" | ||
], | ||
"federatedml.feature.homo_feature_binning.homo_binning_base": [ | ||
"SplitPointNode" | ||
], | ||
"federatedml.feature.instance": [ | ||
"Instance" | ||
], | ||
"federatedml.feature.one_hot_encoder": [ | ||
"TransferPair" | ||
], | ||
"federatedml.feature.sparse_vector": [ | ||
"SparseVector" | ||
], | ||
"federatedml.framework.weights": [ | ||
"NumpyWeights", | ||
"TransferableWeights", | ||
"NumericWeights", | ||
"ListWeights", | ||
"DictWeights", | ||
"OrderDictWeights" | ||
], | ||
"federatedml.linear_model.linear_model_weight": [ | ||
"LinearModelWeights" | ||
], | ||
"federatedml.secureprotol.fate_paillier": [ | ||
"PaillierPublicKey", | ||
"PaillierEncryptedNumber" | ||
], | ||
"federatedml.secureprotol.fixedpoint": [ | ||
"FixedPointNumber" | ||
], | ||
"federatedml.secureprotol.number_theory.field.integers_modulo_prime_field": [ | ||
"IntegersModuloPrimeElement" | ||
], | ||
"federatedml.secureprotol.number_theory.group.twisted_edwards_curve_group": [ | ||
"TwistedEdwardsCurveElement" | ||
], | ||
"federatedml.secureprotol.symmetric_encryption.cryptor_executor": [ | ||
"CryptoExecutor" | ||
], | ||
"federatedml.secureprotol.symmetric_encryption.pohlig_hellman_encryption": [ | ||
"PohligHellmanCiphertext", | ||
"PohligHellmanCipherKey" | ||
], | ||
"federatedml.statistic.intersect.intersect_preprocess": [ | ||
"BitArray" | ||
], | ||
"federatedml.statistic.statics": [ | ||
"SummaryStatistics" | ||
], | ||
"gmpy2": [ | ||
"from_binary" | ||
], | ||
"numpy": [ | ||
"ndarray", | ||
"dtype" | ||
], | ||
"numpy.core.multiarray": [ | ||
"scalar", | ||
"_reconstruct" | ||
], | ||
"numpy.core.numeric": [ | ||
"_frombuffer" | ||
], | ||
"tensorflow.python.framework.ops": [ | ||
"convert_to_tensor" | ||
], | ||
"torch._utils": [ | ||
"_rebuild_tensor_v2" | ||
], | ||
"ipcl_python.bindings.ipcl_bindings": [ | ||
"ipclPublicKey" | ||
], | ||
"ipcl_python.ipcl_python": [ | ||
"PaillierPublicKey", | ||
"PaillierEncryptedNumber" | ||
] | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## Backport of Eggroll-2.x | ||
|
||
This directory contains the backport api of Eggroll-2.x and may be used for FATE-1.x. | ||
For users who use newer version api of Eggroll-3.x, | ||
which is not compatible with FATE-2.x, this directory can be safely deleted. |
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,22 @@ | ||
# Copyright (c) 2019 - now, Eggroll Authors. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# | ||
|
||
|
||
def backport_patch(): | ||
import sys | ||
from ._package_loader_patch import Eggroll2xPackageFinder | ||
|
||
sys.meta_path.insert(0, Eggroll2xPackageFinder()) |
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,23 @@ | ||
# Copyright (c) 2019 - now, Eggroll Authors. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# | ||
|
||
from ._wrap_rollpair import ( | ||
WrappedRp as RollPair, | ||
WrappedRpc as RollPairContext, | ||
runtime_init, | ||
) | ||
|
||
__all__ = ["RollPair", "RollPairContext", "runtime_init"] |
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) 2019 - now, Eggroll Authors. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# | ||
|
||
from ._wrap_rollsite import WrappedRollSiteContext as RollSiteContext | ||
|
||
__all__ = ["RollSiteContext"] |
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) 2019 - now, Eggroll Authors. All Rights Reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# | ||
|
||
from ._wrap_session import session_init | ||
|
||
__all__ = ["session_init"] |
Oops, something went wrong.