Skip to content

FudanMPL 2.0, a series of multi-party learning frameworks, with rich features, including secure and fast XGBoost, secure Fine-tuning for pre-trained models, and open source SecureML.

License

Notifications You must be signed in to change notification settings

FudanMPL/Garnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Garnet(石榴石)



Garnet(石榴石) 是继SecMML(Queqiao)后,由复旦大学数据安全与治理实验室开发并开源的又一个安全多方学习(MPL:Multi-party Learning)平台,其深度优化并扩展自MP-SPDZ v0.3.5(CCS 2020),并适配安全多方学习的特定功能需求。经过多轮迭代,Garnet是一个易用性高、通用性强且支持算法丰富的安全多方学习平台。当前,Garnet支持多种安全多方计算协议,例如:半诚实两方场景下的SecureML协议(Garnet新增)、任意多方不诚实大多数 恶意场景下的SPDZ协议等。用户可以使用Python脚本语言调用XGBoost(Garnet新增)模型安全训练功能以及预训练模型的安全微调(Garnet新增)功能。此外,Garnet还支持多场景(任意参与方数,诚实大多数 半诚实,不诚实大多数 半诚实等)下的逻辑回归、神经网络等机器学习模型的安全训练功能。

部署方式一:从源码部署

当前Garnet支持Ubuntu 20.04以及MacOS High Sierra之后的操作系统版本。

且Python版本需要 >= 3.10.0。

源码下载

git clone https://github.com/FudanMPL/Garnet.git

外部库准备

Linux

sudo apt-get install automake build-essential cmake git libboost-dev libboost-thread-dev libntl-dev libsodium-dev libssl-dev libtool m4  texinfo yasm

MacOS

brew install automake build-essential cmake git libboost-dev libboost-thread-dev libntl-dev libsodium-dev libssl-dev libtool m4 texinfo yasm

初始编译(必须步骤)

make clean-deps boost libote
make clean
make -j 8 tldr

部署方式二:用Docker部署

源码下载

git clone https://github.com/FudanMPL/Garnet.git

创建镜像和容器

sudo docker build -t garnet .
sudo docker run --cap-add=NET_ADMIN -it garnet bash

历史发布

2024年7月份发布:

2024年1月份发布:

2023年9月份发布:

2023年7月份发布:

2023年3月份发布:

联系我们

如果您对项目代码有任何疑问,请在GitHub仓库上创建issue。

About

FudanMPL 2.0, a series of multi-party learning frameworks, with rich features, including secure and fast XGBoost, secure Fine-tuning for pre-trained models, and open source SecureML.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published