Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use at least one cache sets per TBE (pytorch#2116)
Summary: Pull Request resolved: pytorch#2116 I added assertion to check for cache sets > 0, since it would fail without error when cache sets = 0. Fixing in this diff to use at least one cache sets, so we don't have to worry about rounding error anymore. Example: table size is 30. Which means cache sets is int(30 * 0.2 / 32) = 0 Differential Revision: D58626864
- Loading branch information