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

torch.cuda("cpu") --> torch.device("cpu") #7

Merged
merged 1 commit into from
Jul 16, 2021

Conversation

jacobhepkema
Copy link
Contributor

Minor edit. I think this will prevent CPU users from getting the error 'module' object is not callable :)

@phlippe
Copy link
Owner

phlippe commented Jul 16, 2021

Hi, thanks for raising the pull request! You are absolutely correct, that should have been torch.device. Sorry for the bug.

@phlippe phlippe merged commit b80784b into phlippe:master Jul 16, 2021
@jacobhepkema jacobhepkema deleted the patch-1 branch July 16, 2021 15:07
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.

2 participants