-
Notifications
You must be signed in to change notification settings - Fork 33
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
3 site tests #180
3 site tests #180
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a great addition. My only comment on this one is that maybe instead of an additional testset which is separate, you could merge this in each of the testsets for the ground state algorithms above, which would then consist of:
- test logging (1site)
- test algorithm (1site)
- repeat to 3sites
- test logging (3 sites)
- test algorithm (3 sites)
This would bundle things by algorithm, so for example if VUMPS contains an error it will fail sooner, and also reduce runtime even more because you start from something near converged.
(This is mostly just my preference/opinion, if you disagree I would be fine merging as-is)
Ps, I would probably merge this first, which would then resolve the codecov complaints of the other PRs
Sure, I'll change this tomorrow :) |
All rightly @lkdvos, this is all done now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
In principle I am okay with merging this, but then we would have to port this over to the blocktensor2 branch. @VictorVanthilt , any opinions if we rather wait a bit for that?
I'm okay with adding this before the blocktensor refactor. If the tests pass here it's a good extra testset for the blocktensor2 branch to pass. |
@lkdvos as far as I understand the tests also don't consider ''parallelize_sites = true'' and ''false'' etc. I agree that a user triggered test should obly trigger one config. But when PR are tested all permutations of the compilation flags should be considered no ? |
Yeah, I agree there. What I had in mind was to change the entire current approach to work with |
Ok great. In the future I'd be happy to help implementing this together with the other parallelizations that I made :) |
This PR adds tests for infinite MPS with a 3-site unit cell.
I ran this locally and found an almost unexciting additional cost to run these on my machine.