iamtrask / capsule Goto Github PK
View Code? Open in Web Editor NEWDEPRECATED- see https://github.com/OpenMined/OpenMined or https://github.com/OpenMined/PySyft
License: Apache License 2.0
DEPRECATED- see https://github.com/OpenMined/OpenMined or https://github.com/OpenMined/PySyft
License: Apache License 2.0
Description: In this PySyft Demo Notebook for MPC 3 different people (bob, alice, and sam) split up the ownership of any tensors created. In this issue, we want to simulate a Tensor holder so that... for example "alice" could create a tensor and the roles of "bob" and "sam" would happen on the Capsule with all interactions between bob, alice, and sam using the network (ZeroMQ).
Acceptance Criteria:
After implementing ZeroMQ in capsule, we figured out that Django server is not getting used at all and since all communications between other modules and capsule is being handled by ZeroMQ, we don't really need Django or Flask server.
There are 3 capsule implementations using different frameworks (ZeroMQ, Django and Flask). So to remove the confusion, we should remove Django and Flask implementation of capsule and only keep ZeroMQ implementation of Capsule.
We are getting a bunch of errors from Flake over styling issues in Capsule over at PySyft. Is it possible to fix these? or should we somehow configure Flake to skip style check of Capsule in PySyft builds?
https://travis-ci.org/OpenMined/PySyft/builds/288671072
Pulling the latest version and running the notebook as is, gives the following error:
ImportError: cannot import name 'client'
The full stack trace:
ImportError Traceback (most recent call last)
<ipython-input-1-4014c6f08f0c> in <module>()
----> 1 from capsule.zmq_client import LocalCapsuleClient
2 import syft as sy
~/miniconda2/envs/py3/lib/python3.6/site-packages/capsule-0.1.0-py3.6.egg/capsule/__init__.py in <module>()
----> 1 from capsule import client
2 from capsule import local_server
ImportError: cannot import name 'client'
This is just one issue, after changing from capsule import client
to from capsule import tasks
, there is still an issue inside local_server.py
, which needs to import tasks from the capsule package like sofrom capsule import tasks
.
There still appear to be other issues though.
Description: In this PySyft Demo Notebook for SPDZ MPC 2 different people (server1, server2) split up the ownership of any tensors created. In this issue, we want to simulate a Tensor holder so that... for example "server1" could create a tensor and the roles of "server2" would happen on the Capsule with all interactions between the two using the network (ZeroMQ).
Acceptance Criteria:
The line model = model.decrypt()
returns the error "decrypt() missing 1 required positional argument: 'prikey'".
In the Syft library, decrypt requires the parameter 'private key'. Therefore I think this line should be changed to model = model.decrypt(capsule)
.
I am happy to update if necessary.
The zmq-server, when encountering an exception, gets stuck forever in the while loop, and prevents any subsequent requests from beind handled.
A potential solution si defining some sort of protocol, for letting the clients know there was a problem with their request.
Hi everyone,
I think NuCypher's PKE could be a really elegant solution for distributed private Key management on OpenMined that satisfy's both Jane's and AI Inc's requirements (see Andrew's slide deck). If you agree, I can set up an intro to the team. I'm sure they would be very interested in collaborating or building out a specific white-label version for Open Mined. Let me know if you guys have any ideas, comments or critiques.
NuCypher KMS Primer.pdf
NuCypher Technical White Paper.pdf
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.