8000 GitHub - ryanfeng2001/XFL: An Efficient and Easy-to-use Federated Learning Framework.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
forked from paritybit-ai/XFL

An Efficient and Easy-to-use Federated Learning Framework.

License

Notifications You must be signed in to change notification settings

ryanfeng2001/XFL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Documentation Status

XFL is a high-performance, high-flexibility, high-applicability, lightweight, open and easy-to-use Federated Learning framework. It supports a variety of federation models in both horizontal and vertical federation scenarios. To enable users to jointly train model legally and compliantly to unearth the value of their data, XFL adopts homomorphic encryption, differential privacy, secure multi-party computation and other security technologies to protect users' local data from leakage, and applies secure communication protocols to ensure communication security.

Highlights

  • High-performance algorithm library

    • Comprehensive algorithms: support a variety of mainstream horizontal/vertical federation algorithms.
    • Excellent performance: significantly exceeds the average performace of federated learning products.
    • Network optimization: adapt to high latency, frequent packet loss, and unstable network environments.
  • Flexible deployment

    • parties: support two-party/multi-party federated learning.
    • schedulering: any participant can act as a task scheduler.
    • hardware: support CPU/GPU/hybrid deployment.
  • Lightweight, open and easy to use:

    • Lightweight: low requirements on host performance.
    • Open: support mainstream machine learning frameworks such as Pytorch and Tensorflow, and user can conveniently design their own horizontal federation models.
    • Easy to use: able to run in both docker environment and Conda environment.

Quick Start Demo

Running in standalone mode

# create and activate the virtual environment
conda create -n xfl python=3.9.7
conda activate xfl

# install dependencies
pip install -r requirements.txt

# enter the project directory
cd ./demo/vertical/logistic_regression/2party

# start running the demo
sh run.sh

Document

Tutorial

Algorithms

Development

License

Apache License 2.0

About

An Efficient and Easy-to-use Federated Learning Framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.2%
  • Shell 0.8%
0