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

fix two sparsenn failures #2613

Closed
wants to merge 1 commit into from
Closed

Conversation

bdhirsh
Copy link
Contributor

@bdhirsh bdhirsh commented May 21, 2024

Summary:
there were two failures in the dashboard:

(1) torch._custom_op.impl.get_ctx appears to not exist (or get imported properly). From some grepping it looks like we pull from torch.library.get_ctx in most of the codebase

(2) an error about branching on truthy numpy arrays in one of the sparsenn tests: I just coerced the numpy array into a boolean.

Reviewed By: williamwen42

Differential Revision: D57050715

@facebook-github-bot
Copy link
Contributor

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

Copy link

netlify bot commented May 21, 2024

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 5505dce
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/664ca14faf528500089f4bd8
😎 Deploy Preview https://deploy-preview-2613--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.

bdhirsh added a commit to bdhirsh/FBGEMM that referenced this pull request May 21, 2024
Summary:

there were two failures in the dashboard:

(1) `torch._custom_op.impl.get_ctx` appears to not exist (or get imported properly). From some grepping it looks like we pull from `torch.library.get_ctx` in most of the codebase

(2) an error about branching on truthy numpy arrays in one of the sparsenn tests: I just coerced the numpy array into a boolean.

Reviewed By: williamwen42

Differential Revision: D57050715
@bdhirsh bdhirsh force-pushed the export-D57050715 branch from d3d5065 to df597b1 Compare May 21, 2024 13:27
@facebook-github-bot
Copy link
Contributor

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

Summary:

there were two failures in the dashboard:

(1) `torch._custom_op.impl.get_ctx` appears to not exist (or get imported properly). From some grepping it looks like we pull from `torch.library.get_ctx` in most of the codebase

(2) an error about branching on truthy numpy arrays in one of the sparsenn tests: I just coerced the numpy array into a boolean.

Reviewed By: williamwen42

Differential Revision: D57050715
@bdhirsh bdhirsh force-pushed the export-D57050715 branch from df597b1 to 5505dce Compare May 21, 2024 13:27
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 66efb75.

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