-
Notifications
You must be signed in to change notification settings - Fork 219
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
Reproducibility of particle Gibbs is not guaranteed on x86 #2446
Comments
Is it related to this? @testset "advancedps" begin
x4 = randn(AdvancedPS.TracedRNG(), 3)
@info x4
end x64: [ Info: [0.9001334534074001, -0.21170514711276572, 0.04622435546537583] x86: [ Info: [-0.29490566974498955, 0.02019167249744647, 1.7979388207251714] TracedRNG isn't deterministic even on the same architecture, though, so that doesn't match up with previous observations. |
We will consider transferring |
I think we should keep this one open; we haven't figured out the root cause yet (#2449 only really plasters over it 😄 ). |
(I've been spending a little bit of time on narrowing it down, but haven't quite figured it out yet.) |
Not for the first time, x86 CI gives us mysterious problems, in that some numerical tests fail on x86 despite all RNGs being thoroughly seeded (i.e. the results should be fully deterministic).
For example, using this
runtests.jl
on x64 and x86 GitHub runners will give different results at the end, see https://github.com/penelopeysm/Shaymin.jl/actions/runs/12412993388/job/34653933016Note that:
rng
;Random.randn(10)
andrand(StableRNG(468), 10)
are deterministic across architectures, so it's not a mistake in the implementation of the random number generator.The text was updated successfully, but these errors were encountered: