Conversation
kshyatt
left a comment
There was a problem hiding this comment.
Apart from minor comment LGTM, this will be very helpful for the Enzyme PR
|
Your PR no longer requires formatting changes. Thank you for your contribution! |
|
Ope, GPU failures look related... |
|
Needs #390 first, but should then be ready. |
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
ab125b5 to
e3ce090
Compare
| return (Vtr, Vℤ₃, VU₁, VfU₁, VCU₁, VSU₂, VfSU₂, VIB_diag, VIB_M) | ||
| end | ||
|
|
||
| # Gauge-fixing tangents for AD factorization tests |
There was a problem hiding this comment.
Clearly we should have these functions in the main MAK module?
There was a problem hiding this comment.
I think this is in line with the current MAK approach. I'm happy to migrate this, but probably we should then also do this for MAK itself so we can reuse the functions.
|
This generally looks good; I left a few small comments and questions. But clearly, this is too much change for a detailed review. Is there a convenient way to review such code reorganization, i.e. to separate between what has just moved to other files and what are actual changes. I could probably ask some agent, but I don't feel like doing that. |
|
I don't think there is, but I did try and not actually alter anything except for the organization of the tests.
In principle there is no reason to review the actual contents of the test files, since these are unchanged, which also explains some of the things you commented on. |
|
Update: really struggling with the CUDA tests here, that are not happy with the updated spacelist. After that, I think the branch rules should be updated to check for the test summary succeeding, and this should be good to go from there. Unfortunately I didn't manage to actually get this done, so if someone feels like continuing, that would be great. |
|
Picking this back up as I exit the JuliaCon mines |
|
So there definitely seems to be an issue with the I'll fix this locally and run the tests locally before committing. |
|
And I'm looking at the CUDA failure! |
|
CUDA tests are failing because the output of bs = blocks(t)
iterate(bs)is |
|
I was wrong; FiniteDifferences is a weakdeps in the main Project.toml, so it makes that its compat entry is in that file, as it is for several other weakdeps, and then this compat entry is not repeated in |
|
OK, should be a quick fix.. |
I purposefully avoided testing the Edit: turns out I didn't avoid testing them, I just worked around them the same way you did in your recent commit 😄 |
| @timedtestset "Tensors with symmetry: $Istr" verbose = true begin | ||
| V1, V2, V3, V4, V5 = V | ||
| @timedtestset "Basic tensor properties" begin | ||
| W = V1 ⊗ V2 ⊗ V3 ⊗ V4 ⊗ V5 |
There was a problem hiding this comment.
The problem is rather that the IsingBimodule spaces have been constructed such that V1 ⊗ V2 ← V3 ⊗ V4 ⊗ V5 is non-empty. I don't think it was ever the goal to construct a TensorMap{5,0} with codomain given by V1 ⊗ V2 ⊗ V3 ⊗ V4 ⊗ V5.
There was a problem hiding this comment.
We should probably be a bit more consistent with which tensors are being constructed, to avoid indeed empty tensor or overly large tensors.
|
Yeah I figured it out in the end. Might be good to add a comment to the
setup file about this.
…On Thu, Apr 2, 2026 at 4:37 PM Boris De Vos ***@***.***> wrote:
*borisdevos* left a comment (QuantumKitHub/TensorKit.jl#389)
<#389?email_source=notifications&email_token=AAGKJYZGJRKV3G5WUIQ2AUT4TZ3I3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIMJXHAZTMMJQGU3KM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJNLQOJPWG33NNVSW45C7N5YGK3S7MNWGSY3L#issuecomment-4178361056>
CUDA tests are failing because the output of
bs = blocks(t)iterate(bs)
is nothing for the IsingBimodule space. I'll try to figure out why.
I purposefully avoided testing the VIB_M spaces for certain tests because
of the space W = V1 ⊗ V2 ⊗ V3 ⊗ V4 ⊗ V5 being considered. Long story
short, it's a hom-space that's forbidden by fusion rules. The new
default_spacelist function will take these spaces for every situation.
—
Reply to this email directly, view it on GitHub
<#389?email_source=notifications&email_token=AAGKJYZGJRKV3G5WUIQ2AUT4TZ3I3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIMJXHAZTMMJQGU3KM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJNLQOJPWG33NNVSW45C7N5YGK3S7MNWGSY3L#issuecomment-4178361056>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGKJY64YTUV24QMFUWPFN34TZ3I3AVCNFSM6AAAAACW6DFFAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DCNZYGM3DCMBVGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
Also, locally I know get Aqua ambiguity warnings (on Julia 1.10) I don't understand how this wasn't caught on previous merges, since this cannot be caused |
Great minds etc etc... |
This is after fixing the FD issue? Could the FD be pushed so I can take a look alongside (if you like, of course!) |
|
I am fixing / changing a few other things along the way. I will try to push something later tonight. |
|
Cool, sorry to rush you!
…On Thu, Apr 2, 2026 at 8:57 PM Jutho ***@***.***> wrote:
*Jutho* left a comment (QuantumKitHub/TensorKit.jl#389)
<#389?email_source=notifications&email_token=AAGKJY254LLL7S7FKBY7FU34T2Z23A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIMJXHE4DMOBYGQ32M4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJNLQOJPWG33NNVSW45C7N5YGK3S7MNWGSY3L#issuecomment-4179868847>
I am fixing / changing a few other things along the way. I will try to
push something later tonight.
—
Reply to this email directly, view it on GitHub
<#389?email_source=notifications&email_token=AAGKJY254LLL7S7FKBY7FU34T2Z23A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIMJXHE4DMOBYGQ32M4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJNLQOJPWG33NNVSW45C7N5YGK3S7MNWGSY3L#issuecomment-4179868847>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGKJYZRIFBNATBMJEQZ3LD4T2Z23AVCNFSM6AAAAACW6DFFAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DCNZZHA3DQOBUG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
|
Didn't manage to finish this; some tests are still failing, so it feels stupid to strain the CI with that. Will continue tomorrow. |
Summary
test/Project.toml, separating them from the main package manifest--fastmode that skips AD test groups and reduces sector/scalar-type coverage for quick iterationtest/README.mddocumenting how to run tests, available groups, fast mode, and how to add new test files