Commit 967d11e
Fix int64 key truncation in DramKV inference eviction loop (#5876)
Summary:
X-link: https://github.com/facebookresearch/FBGEMM/pull/2805
`FeatureEvict::start_inference_eviction_loop` collected evicted keys into a `std::vector<int>`, but embedding keys are `int64_t`. Pushing a 64-bit key into an `int` vector truncates it to 32 bits.
Pull Request resolved: #5876
Reviewed By: henrylhtsang
Differential Revision: D108339752
Pulled By: q10
fbshipit-source-id: eb30ac9528b777f2d9541abea9641ceb5c9c66cd1 parent 0f5414f commit 967d11e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
692 | | - | |
| 692 | + | |
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
| |||
0 commit comments