-
Notifications
You must be signed in to change notification settings - Fork 537
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a method to tbe module to recompute buffers
Summary: If we initialize tbe module on meta device, its buffers will be on meta and we need to recompute them before running inference. There're a couple place need to do this so this diff add a method to tbe module for this logic so it can be called from different places. Differential Revision: D53838053
- Loading branch information
1 parent
66a8779
commit e4f9c29
Showing
1 changed file
with
57 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