Hi,
in this case autograd is too slow. This takes using my GPU Tesla V100-SXM2 about 0.5s. Any suggestions to accelerate it?
import torch
import time
device = "cuda" if torch.cuda.is_available() else "cpu"
w=torch.ones(8000,8000,requires_grad=True,device=device)
loss=torch.logdet(w)
time_start=time.time()
loss.backward()
print(time.time()-time_start)

Thanks!