forked from pytorch/torchrec
-
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.
Add percentage based threshold function and unit tests (pytorch#1679)
Summary: Pull Request resolved: pytorch#1679 Add percentage based threshold function to mc_modules. Also: 1. Add unit tests for all threshold functions. 2. Add one liner documentation for all threshold functions. 3. Add loggings for threshold. Note that regardless of eviction policy, threshold functions only look at eviction counts. Reviewed By: dstaay-fb Differential Revision: D53030312 fbshipit-source-id: 52bde031b45a38429fccb7e280705995d41a1ab1
- Loading branch information
1 parent
f8f6f61
commit 02771aa
Showing
2 changed files
with
156 additions
and
0 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