-
Notifications
You must be signed in to change notification settings - Fork 480
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix hbm-promoted table prefetch estimate. (#1620)
Summary: Pull Request resolved: #1620 Fixes a bug where promoted tables were erroneously more expensive in the planner. Previously, when an embedding offload table was scaled up to use memory budget and there was enough budget to promote it to dedicated HBM, and there was a fused param default for cache_load_factor, prefetch_compute delay was incorrectly calculated to assume it was still uvm_caching with the given default CLF. HBM only tables should always have 0 prefetch_compute cost. Kudos to Henry who quickly identified this problem & proposed the solution implemented here. Reviewed By: henrylhtsang Differential Revision: D52649994 fbshipit-source-id: 99ce7a9ccceb78eba76fbcbf54e4678eab676af0
- Loading branch information
1 parent
7351978
commit 813671c
Showing
2 changed files
with
47 additions
and
63 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