File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 65
65
end
66
66
∂x_ra, ∂ps_ra = (∂x_ra, ∂ps_ra) |> cpu_device ()
67
67
68
- @test ∂x_zyg ≈ ∂x_ra atol = 1.0f-2 rtol = 1.0f-2
69
68
# TODO : is zygote off here?
70
- @test check_approx (∂ps_zyg, ∂ps_ra; atol= 1.0f-2 , rtol= 1.0f-2 ) broken =
71
- setup. shift
69
+ @test ∂x_zyg ≈ ∂x_ra atol = 1.0f-2 rtol = 1.0f-2 skip = setup . shift
70
+ @test check_approx (∂ps_zyg, ∂ps_ra; atol = 1.0f-2 , rtol = 1.0f-2 ) skip = setup. shift
72
71
end
73
72
end
74
73
end
Original file line number Diff line number Diff line change 56
56
end
57
57
∂x_ra, ∂ps_ra = (∂x_ra, ∂ps_ra) |> cpu_device ()
58
58
59
- @test ∂x_zyg ≈ ∂x_ra atol = 1.0f-2 rtol = 1.0f-2
60
59
# TODO : is zygote off here?
61
- @test check_approx (∂ps_zyg, ∂ps_ra; atol= 1.0f-2 , rtol= 1.0f-2 ) broken =
62
- setup. shift
60
+ @test ∂x_zyg ≈ ∂x_ra atol = 1.0f-2 rtol = 1.0f-2 skip = setup . shift
61
+ @test check_approx (∂ps_zyg, ∂ps_ra; atol = 1.0f-2 , rtol = 1.0f-2 ) skip = setup. shift
63
62
end
64
63
end
65
64
end
You can’t perform that action at this time.
0 commit comments