Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release FL on SGX V1.0 #882

Open
wants to merge 151 commits into
base: sgx_ra_tls
Choose a base branch
from
Open

Release FL on SGX V1.0 #882

wants to merge 151 commits into from

Conversation

duanbing
Copy link
Collaborator

@duanbing duanbing commented Aug 24, 2021

  1. Mutual RA-TLS by GRPC between worker and ps, worker and worker;
  2. Upgrade graphene to graming for production-ready;
  3. New sample codes

Abingcbc and others added 30 commits June 11, 2021 12:54
* feat(raw_data): add parameter validation for data portal job

* fix pylint
* fix follower restart index missing

* fix follower restart index missing
* fix(psi): PSI failed when CPU_LIMIT < 4

* remove unused package
* feat(tree): select label

* feat(tree): fix

* feat(tree): add label_feild in script

Co-authored-by: 杭卫强 <[email protected]>
* Fix default value double encode in csv

* Fix default value double encode in csv

* Fix default value double encode in csv

* debug print missing value
* feat(tree): add eval metrics

* feat(tree): add load_model_name

Co-authored-by: 杭卫强 <[email protected]>
* fix(tree): remove x_names=none

* fix(tree): fix

Co-authored-by: 杭卫强 <[email protected]>
* fix(common): do not modify value when convert tf example to dict

* fix(tfrecord): fix convert tfrecord to dict

* fix: add comment
杭卫强 and others added 16 commits September 1, 2022 01:07
* feat(metrics): append more metrics to nn model

* feat(metrics): append more metrics to nn model

* feat(metrics): append more metrics to nn model

* feat(metrics): append more metrics to nn model

* feat(metrics): append more metrics to nn model

* feat(metrics): append more metrics to nn model

* feat(metrics): append more metrics to nn model

* feat(metrics): append more metrics to nn model

* feat(metrics): append more metrics to nn model

* feat(metrics): fix comments

* feat(metrics): fix comments
* feat(trainer): save checkpoints when load no data

* feat(trainer): save checkpoints when load no data

* feat(trainer): save checkpoints when load no data

* feat(trainer): save checkpoints when load no data
Gezq and others added 13 commits March 5, 2024 13:18
* add meituan hdfs IO feature

* remove loader.env.CLASSPATH, it's loaded from host now.

* Pull code script adapt Meituan viewfs hdfs

---------

Co-authored-by: huangxu17 <[email protected]>
Co-authored-by: gejielun <[email protected]>
…nents (#1092)

* feat(sgx): support tensorflow remote attestation in list

* fix(sgx): improve EPC cost

* fix(sgx): fix memory leak of json_engine

* fix(sgx):misspell Ps->ps
* Update estimator.py: add marvell related

* Update trainer_worker.py: add arguments

* Add privacy via upload: add protects and attacks

* Update __init__.py: add privacy into package

* Update marvell.py:Add comments

* Update marvell.py: add comments on zero division problems

* Update norm_attack.py: add comments

* Update emb_attack.py: add comments

* Update discorloss.py: add paper

* Update estimator.py: add comments

* Update trainer_worker.py:add comments

* Update discorloss.py:add comments

* adjust structure

move the privacy protection related codes to /privacy/splitnn

* Delete fedlearner/privacy/discorloss.py

* Delete fedlearner/privacy/emb_attack.py

* Delete fedlearner/privacy/marvell.py

* Delete fedlearner/privacy/norm_attack.py

* Update estimator.py: label protection
* feat(sgx): support tensorflow remote attestation in list

* fix(sgx): improve EPC cost

* fix(sgx): fix memory leak of json_engine

* fix(sgx):misspell Ps->ps

* fix(sgx): fix get_token

* feat(sgx): put all python packages into trusted_files
* Meituan HDFS Access Without Proxy for Kerberos Authentication

* Meituan HDFS Access Without Proxy for Kerberos Authentication

---------

Co-authored-by: huangxu17 <[email protected]>
* Meituan HDFS Access Without Proxy for Kerberos Authentication

* Meituan HDFS Access Without Proxy for Kerberos Authentication

* 1. FedLearner Framework and Core Dependency RA-TLS Configuration
To ensure code consistency and implement hash signature-based remote attestation for the FedLearner framework and its core dependencies, an environment variable has been introduced in Gramine that prevents the generation of .pyc files.
2. Gramine Template Configuration for FedLearner
The Gramine template configuration has been updated to include the code locations for the FedLearner framework and some essential dependencies. This addition facilitates bidirectional remote attestation between parties.
3. Meituan HDFS File Path Management Optimization
The code responsible for handling file paths in Meituan's Hadoop Distributed File System (HDFS) has been migrated from the main entry point to be processed by the master node. This change aims to prevent file read and write conflicts that could arise from multiple workers operating simultaneously.

* Fix gramine allowed files lib risk, add sub path to allowed files

* Regarding the TensorFlow API, it allows the addition of specific files that change with each compilation to the Gramine configuration, rather than the entire API folder.

---------

Co-authored-by: huangxu17 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.