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

Repo sync #572

Merged
merged 1 commit into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bazel/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ def _libpsi():
http_archive,
name = "psi",
urls = [
"https://github.com/secretflow/psi/archive/9225bc9626a4ed3e4a8a55b86e400aa5e50e3e93.tar.gz",
"https://github.com/secretflow/psi/archive/refs/tags/v0.2.0.dev240222.tar.gz",
],
strip_prefix = "psi-9225bc9626a4ed3e4a8a55b86e400aa5e50e3e93",
sha256 = "f90e9e9a2a931833ebdf8f08c01c09fe0c1b0f88458f0c18d45b1a548cf2c001",
strip_prefix = "psi-0.2.0.dev240222",
sha256 = "6b3aed24ae5dc4dce7acfc140093612f8753b9643a6a19177483f8462eda061f",
)

def _rules_proto_grpc():
Expand Down
9 changes: 9 additions & 0 deletions examples/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,12 @@ To use a specific layout configuration (i.e. change MPC protocol, change outsour
> bazel run -c opt //examples/python/utils:nodectl -- -c examples/python/conf/2pc.json up

Then please check the comment of each example to run.

## Examples for PSI/PIR

Please check tests at this moment:

- spu/tests/legacy_psi_test.py
- spu/tests/psi_test.py
- spu/tests/ub_psi_test.py
- spu/tests/pir_test.py
4 changes: 3 additions & 1 deletion examples/python/ml/ml_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,9 @@ def suite():
# should put JAX tests above
suite.addTest(UnitTests('test_tf_experiment'))
suite.addTest(UnitTests('test_torch_lr_experiment'))
suite.addTest(UnitTests('test_torch_resnet_experiment'))
# TODO: torch_xla's stablehlo version is not compatibale with SPU,
# reopen when torch_xla upgrade its stablehlo version
# suite.addTest(UnitTests('test_torch_resnet_experiment'))
return suite


Expand Down
65 changes: 0 additions & 65 deletions examples/python/pir/BUILD.bazel

This file was deleted.

97 changes: 0 additions & 97 deletions examples/python/pir/pir_client.py

This file was deleted.

98 changes: 0 additions & 98 deletions examples/python/pir/pir_mem_server.py

This file was deleted.

94 changes: 0 additions & 94 deletions examples/python/pir/pir_server.py

This file was deleted.

Loading
Loading