forked from pytorch/FBGEMM
-
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 an input debug function in TBE training (pytorch#3022)
Summary: X-link: facebookresearch/FBGEMM#117 Pull Request resolved: pytorch#3022 This diff adds a function for printing input stats including weighted/unweighted, number of features, batch size, average pooling factor, total number of indices, number of unique indices, and number of indices that goes through the different backward functions. This function is intended for debugging only. It can enabled during runtime by setting an enviroment variable FBGEMM_DEBUG_PRINT_INPUT_STATS=1. Reviewed By: dshi7 Differential Revision: D61634512
- Loading branch information
1 parent
6bb22e0
commit 63b9fec
Showing
1 changed file
with
134 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