Traceback (most recent call last):
File "train.py", line 334, in <module>
main(config, save_path)
File "train.py", line 259, in main
train_loss = train(train_loader, model, optimizer, epoch, w)
File "train.py", line 170, in train
w_loss_1 = w.compute()
File "/home/nanana/mnt/nas/SR/lte/w2.py", line 114, in compute
return w2_gaussian(self.mean_source, self.mean_target, self.cov_source, self.cov_target, eps=self.eps)
File "/home/nanana/mnt/nas/w2.py", line 47, in w2_gaussian
cov_source = make_psd(cov_source, strict=True, eps=eps)
File "/home/nanana/mnt/nas/w2.py", line 32, in make_psd
smallest_eig = matrices.min(-1)[0] if diag else min_eig(matrices)
File "/home/nanana/mnt/nas/w2.py", line 27, in min_eig
return torch.linalg.eigvalsh(matrices)[..., 0]
RuntimeError: cusolver error: CUSOLVER_STATUS_INTERNAL_ERROR, when calling `cusolverDnXsyevd( handle, params, jobz, uplo, n, CUDA_R_64F, reinterpret_cast<void*>(A), lda, CUDA_R_64F, reinterpret_cast<void*>(W), CUDA_R_64F, reinterpret_cast<void*>(bufferOnDevice), workspaceInBytesOnDevice, reinterpret_cast<void*>(bufferOnHost), workspaceInBytesOnHost, info)`
What’s the problem?