1. 27 Jun, 2022 2 commits
  2. 24 Jun, 2022 4 commits
  3. 13 Jun, 2022 1 commit
  4. 26 May, 2022 1 commit
  5. 18 May, 2022 1 commit
  6. 17 May, 2022 1 commit
  7. 16 May, 2022 2 commits
  8. 03 May, 2022 2 commits
  9. 02 May, 2022 1 commit
  10. 28 Apr, 2022 2 commits
  11. 22 Apr, 2022 1 commit
    • Brian Knott's avatar
      Fix DPS / RAPPOR Loss · 2e974402
      Brian Knott authored
      Summary:
      Fixes DPSMPC
      
      (Note: this ignores all push blocking failures!)
      
      Reviewed By: shree-gade
      
      Differential Revision: D35790682
      
      fbshipit-source-id: e8667ade54696843a887d80bc4497665208e862d
      2e974402
  12. 13 Apr, 2022 1 commit
    • Tarek Elgamal's avatar
      Add user-supplied seeding for CrypTen RNGs · cf96faa9
      Tarek Elgamal authored
      Summary:
      CrypTen uses four internal random number generators to produce random values of specific types. These generators are called "local", "global", "prev", and "next". The names of these generators indicate the group of parties that share a seed for a generator:
      
      These seeds are initialized and coordinated by the crypten._setup_prng() function (__init__.py). For testing purposes, this diff allows users to set these seeds deterministically by exposing crypted.seed() function that runs only in debug mode
      
      Reviewed By: knottb
      
      Differential Revision: D35476423
      
      fbshipit-source-id: 3007a6a36c52f7463c0bf17f22f5ed07651d455f
      cf96faa9
  13. 07 Apr, 2022 1 commit
  14. 29 Mar, 2022 3 commits
    • Brian Knott's avatar
      Remove pytest-runner dependency in setup.py (#373) · 257b7f3a
      Brian Knott authored
      Summary:
      Pull Request resolved: https://github.com/facebookresearch/CrypTen/pull/373
      
      Removes pytest-runner in setup.py since it is deprecated here: https://pypi.org/project/pytest-runner/
      
      This has caused issues for some OSS users.
      
      Reviewed By: yuansen23
      
      Differential Revision: D35153940
      
      fbshipit-source-id: b91be72e0c38edcd199af4ae2be269a9552cc84c
      257b7f3a
    • Brian Knott's avatar
      Fix DPSplitMPC test · cf121877
      Brian Knott authored
      Summary: Test was failing because loss forward was being compared on both parties. Only the feature_src should have the correct plaintext value since it holds the reference model.
      
      Reviewed By: yuansen23
      
      Differential Revision: D35186281
      
      fbshipit-source-id: 4fc4c188942a352c37fe9952edd0df6c494f923f
      cf121877
    • Brian Knott's avatar
      Update torch floor divide ops · cdb20f98
      Brian Knott authored
      Summary: Using `//` for torch floor divide is deprecated (and prints an annoying warning). There were 2 instances of this in replicated.py. This diff removes them.
      
      Reviewed By: yuansen23
      
      Differential Revision: D35188089
      
      fbshipit-source-id: e897a42345ab2292fa66c424106badf441e58f95
      cdb20f98
  15. 22 Mar, 2022 1 commit
  16. 21 Mar, 2022 1 commit
    • Brian Knott's avatar
      Add RapporLoss to DPS-MPC · 5582a4fa
      Brian Knott authored
      Summary:
      - Adds `RapporLoss` to `crypten.nn.loss`
      - Modifies `DPSplitModel` to enable application of RAPPOR loss.
      - Improve testing for `DPSplitModel`
      - Add RapporLoss to testing in `test_gradients.py`
      - Add RapporLoss testing in `test_privacy_models.py`
      
      Reviewed By: yuansen23
      
      Differential Revision: D34826725
      
      fbshipit-source-id: 281dd01dc4e8222dec17ee969adf6aa57b5171fa
      5582a4fa
  17. 07 Mar, 2022 1 commit
    • Dmitry Vinnik's avatar
      docs: add social button in support of Ukraine (#363) · 687e0c04
      Dmitry Vinnik authored
      Summary:
      Our mission at Meta Open Source is to empower communities through open source, and we believe that it means building a welcoming and safe environment for all. As a part of this work, we are adding this banner in support for Ukraine during this crisis.
      
      Pull Request resolved: https://github.com/facebookresearch/CrypTen/pull/363
      
      Reviewed By: marksibrahim
      
      Differential Revision: D34654547
      
      Pulled By: dmitryvinn-fb
      
      fbshipit-source-id: adcfdc014b47e0a95ca25ab8d2b82917053e625e
      687e0c04
  18. 24 Feb, 2022 2 commits
  19. 15 Feb, 2022 1 commit
  20. 31 Jan, 2022 1 commit
    • Brian Knott's avatar
      Fix FBLearner Config for Cogwheel · c6e8ebfb
      Brian Knott authored
      Summary: Fixed config error in example FBLearner workflows. This should stop Cogwheel issues.
      
      Reviewed By: yuansen23
      
      Differential Revision: D33747836
      
      fbshipit-source-id: 6e5696ddf99b34057b682dd04891e25b3ce5b6b7
      c6e8ebfb
  21. 21 Jan, 2022 1 commit
    • Brian Knott's avatar
      Add dependency to CircleCI config · 1fe929a8
      Brian Knott authored
      Summary: Adds OmegaConf dependency to CircleCI config. After testing, this should be the last component for CircleCI to pass. There may still be some flaky tests.
      
      Reviewed By: romovpa
      
      Differential Revision: D33711175
      
      fbshipit-source-id: f699290fd7ec482bd8cf77b56f964f67244bf66c
      1fe929a8
  22. 20 Jan, 2022 1 commit
    • Brian Knott's avatar
      Remove skipped tests · c34b2a06
      Brian Knott authored
      Summary:
      Eliminates skipped tests since they create warnings in Phabricator. D31599001 attempts to fix this by passing sandcastle tests to remote execution, but the tests don't quite work.
      
      In the meantime I am eliminating these tests to improve signals in phabricator.
      
      Reviewed By: sayanghosh
      
      Differential Revision: D33096392
      
      fbshipit-source-id: 4a6aaa0ee11c5a2701c5e377c1d35cba1034cf60
      c34b2a06
  23. 13 Jan, 2022 1 commit
    • Brian Knott's avatar
      Fix DPSplit MPC eval mode · b646113d
      Brian Knott authored
      Summary: Fixes eval mode by only performing plaintext forward pass during eval mode.
      
      Reviewed By: yuansen23
      
      Differential Revision: D33551477
      
      fbshipit-source-id: 908f39dce8b1863f962ecd84c072e4d037458710
      b646113d
  24. 15 Dec, 2021 1 commit
  25. 07 Dec, 2021 1 commit
    • Brian Knott's avatar
      DPSPlitModel debug for size-1 outputs · 2d425da0
      Brian Knott authored
      Summary: Edge case with size-1 outputs had a bug where inverse broadcast would choose the wrong dimension to expand. This diff solves the issue and adds testing for this case.
      
      Reviewed By: yuansen23
      
      Differential Revision: D32920552
      
      fbshipit-source-id: ef3bb150251016d795d0fd62992e31181ddb779e
      2d425da0
  26. 06 Dec, 2021 1 commit
    • Brian Knott's avatar
      Implement noisy_dLdP version of DPSplitMPC · 1cb6a197
      Brian Knott authored
      Summary:
      Implements the noisy_dLdP version of DPSplitMPC.
      
      WIP: Still need to implement the algorithm that computes noisy dLdP from dLdW. The rest seems to be implemented properly.
      
      Reviewed By: yuansen23
      
      Differential Revision: D32714613
      
      fbshipit-source-id: 9d247514a8278c6cb9a3b5069d31d0fbc3bc07da
      1cb6a197
  27. 01 Dec, 2021 1 commit
  28. 19 Nov, 2021 1 commit
  29. 29 Oct, 2021 2 commits
    • Brian Knott's avatar
      Implement RR variant of DP-Split-MPC · 9a11b79f
      Brian Knott authored
      Summary: Implements RR variant of DP-Split-MPC by flipping labels on the `label_src` party side prior to encryption of labels.
      
      Differential Revision: D31865247
      
      fbshipit-source-id: d8f1ceb85d1701fdf3246862b74613ac4c3f72af
      9a11b79f
    • Brian Knott's avatar
      Implement DP-Split-MPC · 81afe80c
      Brian Knott authored
      Summary: Implements DP-Split-MPC algorithm.
      
      Differential Revision: D30402780
      
      fbshipit-source-id: beb61af20c72c03f337b7bc6e2693f4f5ff98a37
      81afe80c