forked from pytorch/torchrec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add KT.regroup to kT pytree unflatten function to preserve the correc…
…t key order Summary: # context * this diff basically re-order the keys in a KT every time after the flatten/unflatten step, based on the key order in the exported IR * This diff is the short-term solution regarding to [post](https://fb.workplace.com/groups/1028545332188949/permalink/1042204770823005/) {F1865696002} Reviewed By: PaulZhang12 Differential Revision: D59238744
- Loading branch information
1 parent
b1c81a2
commit 659e6d4
Showing
2 changed files
with
38 additions
and
5 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