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

Allow bounds_check_mode to be set by environment variable #3187

Closed
wants to merge 1 commit into from

Conversation

jwfromm
Copy link
Contributor

@jwfromm jwfromm commented Sep 27, 2024

Summary:
X-link: https://github.com/facebookresearch/FBGEMM/pull/282

This very simple diff allows TBE's bounds_check_mode to be overwritten by the environment variable FBGEMM_TBE_BOUNDS_CHECK_MODE. When set to 3, this will disable bounds checking.

Reviewed By: qchip

Differential Revision: D63549883

Copy link

netlify bot commented Sep 27, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 189c0dd
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/66f6f9d1a50ffc000868eb8d
😎 Deploy Preview https://deploy-preview-3187--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: D63549883

@facebook-github-bot
Copy link
Contributor

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

jwfromm added a commit to jwfromm/FBGEMM that referenced this pull request Sep 27, 2024
Summary:
Pull Request resolved: pytorch#3187

X-link: facebookresearch/FBGEMM#282

This very simple diff allows TBE's bounds_check_mode to be overwritten by the environment variable `FBGEMM_TBE_BOUNDS_CHECK_MODE`. When set to `3`, this will disable bounds checking.

Reviewed By: qchip

Differential Revision: D63549883
Summary:
Pull Request resolved: pytorch#3187

X-link: facebookresearch/FBGEMM#282

This very simple diff allows TBE's bounds_check_mode to be overwritten by the environment variable `FBGEMM_TBE_BOUNDS_CHECK_MODE`. When set to `3`, this will disable bounds checking.

Reviewed By: renganxu, qchip

Differential Revision: D63549883
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 5582d23.

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