Created
June 7, 2018 15:37
-
-
Save monk1337/a50992b90e4703a5d66bd50cfae77297 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
torch.cuda.is_available() | |
#output | |
# False | |
#use of cuda | |
print(torch.Tensor(1,2).cuda()) | |
--------------------------------------------------------------------------- | |
RuntimeError Traceback (most recent call last) | |
<ipython-input-72-c98e2fa6ab83> in <module>() | |
1 #use of cuda | |
----> 2 print(torch.Tensor(1,2).cuda()) | |
3 | |
4 #as you can see i am not rich enough :/ :/ | |
RuntimeError: torch.cuda.FloatTensor is not enabled. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment