forked from facebookresearch/CrypTen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix errors resulting from changes in PyTorch (facebookresearch#437)
Summary: Pull Request resolved: facebookresearch#437 There were two recent changes to PyTorch that resulted in a series of test and build failures for CrypTen: * onnx: `torch.onnx.symbolic_registry` was replaced with a new class SymbolicRegistry. The change was not backwards-compatible, so we have to support both cases. * gradients: testing the first change revealed a test failure for `test_gradients` that resulted from a recent deprecation of an internal PyTorch function `_grad_input_padding()`. I copied the old function to CrypTen's `util.py`. This is a stop-gap fix to unblock our work for now. A more permanent solution is needed. Also, applying the changes from https://github.com/facebookresearch/CrypTen/pull/396/files Related Github issue: facebookresearch#430 Broken Tests: https://fburl.com/tests/8qo5ik4y Reviewed By: gcormode, lvdmaaten Differential Revision: D41642967 fbshipit-source-id: 479292489d19f1b0dac3f41b6d1c99ad25116d86
- Loading branch information
1 parent
efe8eda
commit 891fa47
Showing
13 changed files
with
176 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.