-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap the xgboost plugin into a C library. (#2639)
* Create C wrapper for the xgboost plugin. * Bring back the data loader for now. * Revert "Bring back the data loader for now." This reverts commit 0627196. * Revert "Add intel phe (#2612)" This reverts commit ddf4c3a. * Simple tests. * Revert. * Revert "Revert "Add intel phe (#2612)"" This reverts commit 1cd4504. * Bring back the cleanup. --------- Co-authored-by: Zhihong Zhang <100308595+nvidianz@users.noreply.github.com>
- Loading branch information
1 parent
e1553c4
commit e7597e1
Showing
18 changed files
with
619 additions
and
330 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
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,15 +1,11 @@ | ||
# Build Instruction | ||
|
||
This plugin build requires xgboost source code, checkout xgboost source and build it with FEDERATED plugin, | ||
|
||
cd xgboost | ||
mkdir build | ||
cd build | ||
cmake .. -DPLUGIN_FEDERATED=ON | ||
make | ||
|
||
``` sh | ||
cd NVFlare/integration/xgboost/processor | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make | ||
``` | ||
|
||
See [tests](./tests) for simple examples. |
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,11 +1,8 @@ | ||
# encoding-plugins | ||
Processor Plugin for NVFlare | ||
|
||
This plugin is a companion for NVFlare based encryption, it processes the data so it can | ||
This plugin is a companion for NVFlare based encryption, it processes the data so it can | ||
be properly decoded by Python code running on NVFlare. | ||
|
||
All the encryption is happening on the local GRPC client/server so no encryption is needed | ||
in this plugin. | ||
|
||
|
||
|
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,12 +1,9 @@ | ||
# DAM (Direct-Accessible Marshaller) | ||
|
||
A simple serialization library that doesn't have dependencies, and the data | ||
A simple serialization library that doesn't have dependencies, and the data | ||
is directly accessible in C/C++ without copying. | ||
|
||
To make the data accessible in C, following rules must be followed, | ||
|
||
1. Numeric values must be stored in native byte-order. | ||
2. Numeric values must start at the 64-bit boundaries (8-bytes) | ||
|
||
|
||
|
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.