pytorch-optimizer icon indicating copy to clipboard operation
pytorch-optimizer copied to clipboard

Upgrade deprecated torch.svd() is deprecated in favor of torch.linalg.svd()

Open alimoezzi opened this issue 2 years ago • 0 comments

Background: torch.svd() is deprecated in favor of torch.linalg.svd() and will be removed in a future PyTorch release.

The previous implementation cause some issues like

RuntimeError: svd_cpu: the updating process of SBDSDC did not converge (error: 1)

which is fixed by Pytorch as pointed here

alimoezzi avatar May 30 '22 17:05 alimoezzi