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

- Support for CPU/GPU compilation #2040

Closed
wants to merge 1 commit into from

Conversation

flaviotruzzi
Copy link
Contributor

Summary:
Backwards was not working for CPU.

Moving the Autograd registration to CPU fixes the issue. On CPU only compilation since the GPU code was not built there was no autograd registration.

Also re-activated the test on github.

Differential Revision: D49615498

@netlify
Copy link

netlify bot commented Sep 25, 2023

Deploy Preview for pytorch-fbgemm-docs canceled.

Name Link
🔨 Latest commit 59cc595
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/65121f104a19e40008caaaf7

@facebook-github-bot
Copy link
Contributor

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

flaviotruzzi pushed a commit to flaviotruzzi/FBGEMM that referenced this pull request Sep 25, 2023
Summary:

Backwards was not working for CPU.

Moving the Autograd registration to CPU fixes the issue. On CPU only compilation since the GPU code was not built there was no autograd registration.

Also re-activated the test on github.

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

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

flaviotruzzi pushed a commit to flaviotruzzi/FBGEMM that referenced this pull request Sep 25, 2023
Summary:

Backwards was not working for CPU.

Moving the Autograd registration to CPU fixes the issue. On CPU only compilation since the GPU code was not built there was no autograd registration.

Also re-activated the test on github.

Reviewed By: spcyppt

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

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

flaviotruzzi pushed a commit to flaviotruzzi/FBGEMM that referenced this pull request Sep 25, 2023
Summary:

Backwards was not working for CPU.

Moving the Autograd registration to CPU fixes the issue. On CPU only compilation since the GPU code was not built there was no autograd registration.

Also re-activated the test on github.

Reviewed By: spcyppt

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

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

Summary:

Backwards was not working for CPU.

Moving the Autograd registration to CPU fixes the issue. On CPU only compilation since the GPU code was not built there was no autograd registration.

Also re-activated the test on github.

Reviewed By: spcyppt

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

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 9b681e5.

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.

None yet

2 participants