Closed ilia-kats closed 1 month ago
Apparently, the torch.Tensor() constructor ignores device contexts, e.g. running
with torch.device("cuda"): print(torch.Tensor().device)
still returns cpu.
cpu
The CI is failing in files that this PR does not touch. Let me know if I should still fix it.
Thanks for the fix! Could you merge the dev branch that should fix the CI errors.
Apparently, the torch.Tensor() constructor ignores device contexts, e.g. running
still returns
cpu
.