Skip to content

Allow cheaping out on convergence checks - #485

Merged
kshyatt merged 1 commit into
mainfrom
ksh/lazy_convergence
Nov 5, 2026
Merged

kshyatt merged 1 commit into
mainfrom
ksh/lazy_convergence

Conversation

@kshyatt

@kshyatt kshyatt commented Nov 5, 2026

Copy link
Copy Markdown
Member

The idea here is to save some work while the CTMRG environments are converging. We check whether the max of the singular value distances is above the tolerance, so if the corners are already above, we don't need to calculate the edge SVDs to know things are not converged. This saves us a bunch of SVD calls at the cost of somewhat less accurate error reporting, so it's kind of a proposal rather than a "we should definitely do this". For C4v CTMRG this is especially helpful on the GPU because we can do only eighs for a while, avoiding the expensive and slow svds.

@kshyatt
kshyatt requested review from leburgel and lkdvos November 5, 2026 06:48
@kshyatt

kshyatt commented Nov 5, 2026

Copy link
Copy Markdown
Member Author

All the GPU fails here are going to be addressed by the next TK version so I will merge

@kshyatt
kshyatt marked this pull request as ready for review November 5, 2026 15:43
@kshyatt
kshyatt merged commit 50a272a into main Nov 5, 2026
48 of 49 checks passed
@kshyatt
kshyatt deleted the ksh/lazy_convergence branch November 5, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants