5 Star 11 Fork 2

隐语SecretFlow / spu

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0

SPU: Secure Processing Unit

CircleCI Python PyPI version OpenSSF Scorecard OpenSSF Best Practices

SPU (Secure Processing Unit) aims to be a provable, measurable secure computation device, which provides computation ability while keeping your private data protected.

SPU could be treated as a programmable device, it's not designed to be used directly. Normally we use SecretFlow framework, which use SPU as the underline secure computing device.

Currently, we mainly focus on provable security. It contains a secure runtime that evaluates XLA-like tensor operations, which use MPC as the underline evaluation engine to protect privacy information.

SPU python package also contains a simple distributed module to demo SPU usage, but it's NOT designed for production due to system security and performance concerns, please DO NOT use it directly in production.

Contribution Guidelines

If you would like to contribute to SPU, please check Contribution guidelines.

This documentation also contains instructions for build and testing.

Installation Guidelines

Supported platforms

Linux x86_64 Linux aarch64 macOS x64 macOS Apple Silicon Windows x64 Windows WSL2 x64
CPU yes yes yes1 yes no yes
NVIDIA GPU experimental no no n/a no experimental
  1. Due to CI resource limitation, macOS x64 prebuild binary is no longer available.

Instructions

Please follow Installation Guidelines to install SPU.

Hardware Requirements

General Features FourQ based PSI GPU
AVX/ARMv8 AVX2/ARMv8 CUDA 11.8+

Citing SPU

If you think SPU is helpful for your research or development, please consider citing our paper:

@inproceedings {spu,
    author = {Junming Ma and Yancheng Zheng and Jun Feng and Derun Zhao and Haoqi Wu and Wenjing Fang and Jin Tan and Chaofan Yu and Benyu Zhang and Lei Wang},
    title = {{SecretFlow-SPU}: A Performant and {User-Friendly} Framework for {Privacy-Preserving} Machine Learning},
    booktitle = {2023 USENIX Annual Technical Conference (USENIX ATC 23)},
    year = {2023},
    isbn = {978-1-939133-35-9},
    address = {Boston, MA},
    pages = {17--33},
    url = {https://www.usenix.org/conference/atc23/presentation/ma},
    publisher = {USENIX Association},
    month = jul,
}

Acknowledgement

We thank the significant contributions made by Alibaba Gemini Lab.

header: # <1> license: spdx-id: Apache-2.0 # <2> copyright-owner: Ant Group Co., Ltd. # <3> copyright-year: '2024' # <25> software-name: secretflow # <4> pattern: | # <6> Licensed under the Apache License, Version 2.0 \(the "License"\); you may not use this file except in compliance with the License. You may obtain a copy of the License at http[s]?://www\.apache\.org/licenses/LICENSE-2\.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. paths: # <7> - '**' paths-ignore: # <8> - '.circleci' - '.github' - '**/*.md' - '**/*.json' - '**/*.yaml' - '**/*.yml' - '**/*.ipynb' - '**/*.txt' - '**/*.Dockerfile' - '**/Dockerfile' - '**/*.po' - '**/*.svg' - '**/*.rst' - '**/*.lds' - '**/*.patch' - '**/*.mlir' - '**/*.csv' - '**/*.tmpl' - 'LICENSE' - 'NOTICE' - '.bazelversion' - '.clang-format' - '.clang-tidy' - '.gitattributes' - '.gitignore' - '.gitmodules' - 'pyproject.toml' - 'setup.cfg' - 'libspu/core/half.h' # MIT comment: never # <9> license-location-threshold: 80 # <10> language: # <11> Starlark: # <12> extensions: #<13> - ".bazel" - ".bazelrc" - "BUILD" - ".bzl" - "WORKSPACE" comment_style_id: PythonStyle # <15> Cpp: extensions: - ".cc" - ".h" - ".cu" comment_style_id: DoubleSlash

简介

SPU (Secure Processing Unit) aims to be a provable, measurable secure computation device, which provides computation ability while keeping your private data protected. 展开 收起
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C++
1
https://gitee.com/secretflow/spu.git
git@gitee.com:secretflow/spu.git
secretflow
spu
spu
main

搜索帮助