pytorch-optimizer
pytorch-optimizer copied to clipboard
Upgrade deprecated torch.svd() is deprecated in favor of torch.linalg.svd()
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