You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support no eviction in Feature score eviction policy (#3488)
Summary:
X-link: pytorch/FBGEMM#5059
Pull Request resolved: #3488
X-link: https://github.com/facebookresearch/FBGEMM/pull/2068
As title
If one table is using feature score eviction in one tbe, then all tables in this tbe need to use the same policy. Feature score eviction can support ttl based eviction now. This diff is adding support no eviction in feature score eviction policy.
Reviewed By: emlin
Differential Revision: D84660528
fbshipit-source-id: 28d85126da30b2c357c7f99b6535be381a76f2ce
feature_score_default_value: Optional[float] =None# default feature score value
245
245
enable_auto_feature_score_collection: bool=False
246
+
enable_eviction: bool= (
247
+
True# Currently we only support using same eviction policy in one tbe for mutiple tables, if one table doesn't need eviction we can set this flag to False
0 commit comments