Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an input debug function in TBE training #3022

Closed
wants to merge 1 commit into from

Conversation

sryap
Copy link
Contributor

@sryap sryap commented Aug 22, 2024

Summary:
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.

Differential Revision: D61634512

Copy link

netlify bot commented Aug 22, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 082d5c3
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/66c6950d66671f00088bb6aa
😎 Deploy Preview https://deploy-preview-3022--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61634512

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61634512

sryap added a commit to sryap/FBGEMM that referenced this pull request Aug 22, 2024
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
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
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61634512

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 0861d46.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants