Closed WillDudley closed 1 year ago
Here's an error I got when running this code on cuda:
>>> import torch >>> torch.FloatTensor((1 - 0) / 2.0, device="cuda:0") Traceback (most recent call last): File "<stdin>", line 1, in <module> RuntimeError: legacy constructor expects device type: cpu but device type: cuda was passed
pre-commit run --all-files
mkdocs serve
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Thanks @WillDudley !
Here's an error I got when running this code on cuda:
Types of changes
Checklist:
pre-commit run --all-files
passes (required).mkdocs serve
.