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

move sm80 code inside MHA #937

Merged
merged 1 commit into from
Aug 10, 2020
Merged

move sm80 code inside MHA #937

merged 1 commit into from
Aug 10, 2020

Conversation

ptrblck
Copy link
Contributor

@ptrblck ptrblck commented Aug 10, 2020

Should fix #931

Thanks @mcarilli for the review.

@mcarilli
Copy link
Contributor

Before this diff, a CPU-only install (python3 setup.py install or python3 setup.py install --user) fails with the error reported in #931 when the Cuda toolkit is not available/visible.

After this diff, CPU-only install succeeds even if the Cuda toolkit is not available/visible.

Thanks Piotr!

To anyone reading this, please do not consider it an endorsement of Apex as a future-proof source of mixed precision. torch.cuda.amp is the truth.

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

Successfully merging this pull request may close these issues.

Merged PR #925 breaks CPU-Only installs
2 participants