File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,7 @@ using Turing
66
66
@varname (mu2) => ESS (),
67
67
)
68
68
chain = sample (StableRNG (seed), MoGtest_default, alg, 2000 )
69
- # (penelopeysm) Note that the tolerance for x86 needs to be larger
70
- # because CSMC (i.e. PG) is not reproducible across architectures.
71
- # See https://github.com/TuringLang/Turing.jl/issues/2446.
72
- atol = Sys. ARCH == :i686 ? 0.12 : 0.1
73
- check_MoGtest_default (chain; atol= atol)
69
+ check_MoGtest_default (chain; atol= 0.1 )
74
70
end
75
71
76
72
@testset " TestModels" begin
Original file line number Diff line number Diff line change 450
450
# the posterior is analytically known? Doing 10_000 samples to run the test suite
451
451
# is not ideal
452
452
# Issue ref: https://github.com/TuringLang/Turing.jl/issues/2402
453
-
454
- # (penelopeysm) Note also the larger atol on x86 runners. This is
455
- # needed because PG is not fully reproducible across architectures,
456
- # even when seeded as above. See
457
- # https://github.com/TuringLang/Turing.jl/issues/2446
458
- mean_atol = Sys. ARCH == :i686 ? 1.3 : 0.8
459
- @test isapprox (mean (num_ms), 8.6087 ; atol= mean_atol)
453
+ @test isapprox (mean (num_ms), 8.6087 ; atol= 0.8 )
460
454
@test isapprox (std (num_ms), 1.8865 ; atol= 0.02 )
461
455
end
462
456
You can’t perform that action at this time.
0 commit comments