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

Make check_feature_gate_key PT2 compatible #3426

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sryap
Copy link
Contributor

@sryap sryap commented Nov 30, 2024

Summary:
Add a new API for check_feature_gate_key that is PT2 compatible.
PT2 complains when an op does not take/return a tensor. Thus,
check_feature_gate_key_pt2 (the new API) takes a dummy tensor as an
input and returns a boolean tensor as an output.

Differential Revision: D66611785

Summary:
X-link: facebookresearch/FBGEMM#512


Add a new API for `check_feature_gate_key` that is PT2 compatible.
PT2 complains when an op does not take/return a tensor.  Thus,
`check_feature_gate_key_pt2` (the new API) takes a dummy tensor as an
input and returns a boolean tensor as an output.

Differential Revision: D66611784
Summary:
Add a new API for `check_feature_gate_key` that is PT2 compatible.
PT2 complains when an op does not take/return a tensor.  Thus,
`check_feature_gate_key_pt2` (the new API) takes a dummy tensor as an
input and returns a boolean tensor as an output.

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

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

Copy link

netlify bot commented Nov 30, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 8f561dd
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/674adb6894f8460008da35f2
😎 Deploy Preview https://deploy-preview-3426--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.

sryap added a commit to sryap/FBGEMM that referenced this pull request Nov 30, 2024
Summary:

X-link: facebookresearch/FBGEMM#513

Add a new API for `check_feature_gate_key` that is PT2 compatible.
PT2 complains when an op does not take/return a tensor.  Thus,
`check_feature_gate_key_pt2` (the new API) takes a dummy tensor as an
input and returns a boolean tensor as an output.

Differential Revision: D66611785
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