-
Notifications
You must be signed in to change notification settings - Fork 18
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
Test on latest Julia version (~1.8) #188
Conversation
Note - the test On re-running tests (with no change) this now passes, along with but now So there may be some instability in the linear solvers from |
Thoughts on this issue, @charleskawczynski ? We are getting SingularExceptions in linear systems that are not singular by Julia <1.8 standards. |
I'm not sure there's enough information to debug. What's the stack trace? Is this an error in TC or in CEDMF? We haven't started testing TC with 1.8 yet, so it might make sense to do that first before upgrading this repo. I think we're seeing similar periodic windows errors in TC-- which, IIRC, is some sort of memory mismanagement, and I'm not exactly sure what's going on there. I've not been able to reproduce locally |
This error is localized to EKP.jl, it comes up in a unit test independent of TC or CEDMF. Basically, the error comes from the operation:
which throws a SingularException (associated with cov_mat) that we did not see in Julia 1.7.3. |
Can you make a reproducer of the values used? |
bors try |
tryBuild failed: |
update: Looking at the dumped matrices we find that One optionAfter suggestion of @charleskawczynski , replacing
with LHS = Matrix{BigFloat}(cov_gg + obs_noise_cov)
RHS = Matrix{BigFloat}(y - g)
tmp = FT.(LHS \ RHS ) leads to tests passing in Of course this is not ideal, as it is likely a far less optimized solve method when using arbitrary precision. |
We could implement that in a |
Done and solved! I will merge this. |
bors r+ |
Build succeeded: |
PULL REQUEST
Purpose and Content
Update package to be compatible with Julia v1.8. Compatibility does not seem to be automatic, since our tests are not passing.