This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Reduced usage of command-line flags: - NGRAPH_COMPLEX_PACK is now specified as part of the encryption parameters - NGRAPH_ENCRYPT_DATA has been replaced by `encrypt` in a `server_config.parameter_map` - NGRAPH_ENCRYPT_MODEL has been removed - NGRAPH_TF_BACKEND has been replaced by `ngraph_backend` in a `server_config.parameter_map` - NGRAPH_HE_SEAL_CONFIG is still used for debugging, but should be specified via `encryption_parameters` in a `server_config.parameter_map` - NGRAPH_ENABLE_CLIENT has been replaced with `enable_client` in a `server_config.parameter_map` * Use of `HEOpAnnotations` and `PropagateHEAnnotations` pass to label each node as `(encrypted vs. plaintext)`, `(packed vs. unpacked)`, `(from_client vs. from_server)` - Not every Node/Op has an annotation (until NervanaSystems/ngraph#3752, NervanaSystems/ngraph#3738), so some logic is redundant / incomplete * Add plaintexts to protobuf messages * Fixed clang client build * Preliminary support for `max` / `divide` / `exp` / `softmax` ops * MobileNetV2 example is broken due to Power() not being constant-folded (fixed in NervanaSystems/ngraph#3725, but not yet in ngraph-brige) * Expanded unit-tests for better coverage of plaintext packing / complex packing * `tf.Keras` remains unsupported, because the function has different ngraph-tf clusters, each of whose result op will be a plain tensor (created via create_tensor). Then, the result will be plaintext for each cluster, but we want ciphertext for each; one solution would be to just have a single HETensor class
- Loading branch information
Showing
125 changed files
with
11,168 additions
and
8,662 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
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 |
---|---|---|
|
@@ -4,5 +4,6 @@ | |
"security_level": 128, | ||
"coeff_modulus": [ | ||
54 | ||
] | ||
], | ||
"complex_packing": true | ||
} |
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
File renamed without changes.
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.