jvmncs / PySyft

Private Deep Learning Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PySyft

Binder Build Status Chat on Slack FOSSA Status

PySyft is a Python library for secure, private Deep Learning. PySyft decouples private data from model training, using Multi-Party Computation (MPC) over PyTorch and tensorflow.
Join the movement on Slack.

See PySyft in Action

  • Emulate remote PyTorch execution - This notebook demonstrates the tensor passing between workers, though both the workers live in the same environment.
  • Emulate remote PyTorch execution using sockets: Server | Client - This notebook demonstrates the tensor passing and remote execution, with workers living in different environments.

    Note: Run Server before Client

  • Federated Learning - This notebook demonstrates the model training over distributed data (data belonging to multiple owners).

Installation

PySyft supports Python >= 3.6 and PyTorch 0.3.1

Pick the proper PyTorch version according to your machine: CPU | CUDA9.1 | CUDA9.0 | CUDA8.0

pip3 install <pytorch-version> torchvision
pip3 install -r requirements.txt
python3 setup.py install

Run Unit Tests

python3 setup.py test

Join the rapidly growing community of 2500+ on Slack and help us in our mission. We are really friendly people!

License

Apache License 2.0

FOSSA Status

About

Private Deep Learning Client


Languages

Language:Python 99.4%Language:Shell 0.6%