-
Notifications
You must be signed in to change notification settings - Fork 27
CompatHelper: bump compat for TensorKit to 0.16, (keep existing compat) #314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
CompatHelper: bump compat for TensorKit to 0.16, (keep existing compat) #314
Conversation
4e86ffc to
6c52cd3
Compare
|
Update that this can now be tackled, as MPSKit has been released |
…version/2025-12-10-01-26-47-328-02937557752
|
It seems the gauge fixing for CTMRG environments is broken here somehow, which then also breaks any attempt at using fixed-point differentation for gradient computations I think. I'll try to have a look and figure out why this is happening now. |
|
So this seems to be an issue with the use of PEPSKit.jl/src/algorithms/ctmrg/gaugefix.jl Lines 47 to 48 in 399a860
Somehow, something about the default behavior of left_orth! must have changed. In particular, the default left orth via QR (alg = :qr) leads to incorrect results here . Explicitly passing alg = :polar fixes the issue though.
Looking into the problem a bit further by explicitly trying The quickest fix is to just switch to [EDIT] I think the source of the behavior change is the loss of a default I personally think the change in the default behavior of |
|
Aside from one timeout everything seems to be working now. Do we want to wait for a |
|
Oh, one more thing we need to eliminate: Lines 158 to 168 in cf49bda
Can you also help digging into MAK/TensorKit to find the function that is used to truncate already calculated U, S, Vh and return the truncation error, and call it here? |
…Kit.truncation_error`
I think I found it, so I removed |
|
I now somehow broke the type inference in PEPSKit.jl/src/algorithms/ctmrg/sequential.jl Lines 84 to 86 in 11bc4f4
Running without preallocating the projectors and info works fine though, so I'm very confused by this. |
|
There's some remaining issues with the new and |
|
I think these are solved as soon as TensorKit releases a version, which I'm aiming to get done today. Does that work? |
|
Guess we still need to wait for TensorKit v0.16.2... |
This pull request changes the compat entry for the
TensorKitpackage from0.15to0.15, 0.16.This keeps the compat entries for earlier versions.
Note: I have not tested your package with this new compat entry.
It is your responsibility to make sure that your package tests pass before you merge this pull request.