tf-encrypted / tf-pjc Goto Github PK
View Code? Open in Web Editor NEWBridge between TensorFlow and Google's Private Join and Compute library
License: Apache License 2.0
Bridge between TensorFlow and Google's Private Join and Compute library
License: Apache License 2.0
Currently not possible since only one object is stored in the resource manager and there is no run identification flow happening between the ops (right now they are only control dependencies, and they would need to be eg variant tensors with eg port information).
General idea:
TODOs:
More effort could be put into robustness, including:
Hello,
I am trying to install the tf-pjc package on Linux ubuntu, but it fails. I run the following:
pip install -e .
python setup.py install
Then I couldn't import the library because I got the error
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/gamal/tf-pjc/tf_pjc/__init__.py", line 1, in <module>
from tf_pjc.python.protocol import PrivateIntersectionSum
File "/home/gamal/tf-pjc/tf_pjc/python/protocol.py", line 3, in <module>
from tf_pjc.python.ops import pjc_run_client
File "/home/gamal/tf-pjc/tf_pjc/python/ops.py", line 8, in <module>
pjc_ops = load_library.load_op_library(op_lib_file)
File "/home/gamal/anaconda3/envs/tf-pjc/lib/python3.7/site-packages/tensorflow_core/python/framework/load_library.py", line 61, in load_op_library
lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: /home/gamal/tf-pjc/tf_pjc/python/_pjc_ops.so: cannot open shared object file: No such file or directory
I tried to build the tool using the command
make build
I got the following error:
ERROR: /home/gamal/.cache/bazel/_bazel_gamal/4ffb84453c7e240a9ea24733ac1549ff/external/com_google_protobuf/protobuf.bzl:130:29: Traceback (most recent call last):
File "/home/gamal/.cache/bazel/_bazel_gamal/4ffb84453c7e240a9ea24733ac1549ff/external/com_google_protobuf/protobuf.bzl", line 125
rule(<3 more arguments>)
File "/home/gamal/.cache/bazel/_bazel_gamal/4ffb84453c7e240a9ea24733ac1549ff/external/com_google_protobuf/protobuf.bzl", line 130, in rule
attr.label(cfg = "host", <3 more arguments>)
'single_file' is no longer supported. use allow_single_file instead. You can use --incompatible_disable_deprecated_attr_params=false to temporarily disable this check.
ERROR: /home/gamal/.cache/bazel/_bazel_gamal/4ffb84453c7e240a9ea24733ac1549ff/external/com_github_google_private_join_and_compute/util/BUILD:37:11: error loading package '@com_google_protobuf//': Extension file 'protobuf.bzl' has errors and referenced by '@com_github_google_private_join_and_compute//util:status_includes'
ERROR: Analysis of target '//tf_pjc:pjc_ops_py' failed; build aborted: Analysis failed
INFO: Elapsed time: 82.443s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (33 packages loaded, 127 targets configured)
Makefile:12: recipe for target 'build' failed
make: *** [build] Error 1
New keys are currently being generated whenever a client is instantiated (PrivateIntersectionSumProtocolClientImpl::PrivateIntersectionSumProtocolClientImpl
), taking a significant amount of time. Update underlying library to allow reuse of (especially Paillier) keys.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.