Commit 7dd02da
Fix failing tests (#793)
Summary:
- Increased tolerance for gradient comparison test from `1e-7` to `2e-7` in `conv2d_test.py`.
- Added GRU validator imports in `validators/__init__.py`.
- Disabled downloading of pretrained weights in PrivacyEngine test.
## Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Docs change / refactoring / dependency upgrade
## Motivation and Context / Related issue
I experience a few failing tests in local setup, this minor changes seems to fix them.
## Checklist
- [x] The documentation is up-to-date with the changes I made.
- [x] I have read the **CONTRIBUTING** document and completed the CLA (see **CONTRIBUTING**).
- [x] All tests passed, and additional code has been covered with new tests.
Pull Request resolved: #793
Reviewed By: iden-kalemaj
Differential Revision: D85085351
fbshipit-source-id: 98a6533fea393448ad78382cbdcf17240a23ffc61 parent 8516d82 commit 7dd02da
File tree
3 files changed
+3
-2
lines changed- opacus
- tests
- grad_samples
- validators
3 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
492 | 492 | | |
493 | 493 | | |
494 | 494 | | |
495 | | - | |
| 495 | + | |
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments