Commit 7d3a515
Unify hash_mc_evictions.py (meta-pytorch#3866)
Summary:
Context
---------
The goal is to remove hash_mc_evictions to unify internal with OSS.
Implementation
------------------
- The only difference between internal and OSS, is one assertion statement.
- Internal is imported in over 100 different places.
- Inside Internal:
- Added a simple depreciated warning, and imported from OSS, in this case.
- Removed the internal tests: `fb/modules/tests/test_hash_mc_evictions.py`
- Changed all internal imports for fb/ within TREC to be OSS.
- External imports will be removed in a seperate diff
Differential Revision: D962425941 parent c874d33 commit 7d3a515
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
| 67 | + | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments