Skip to content

Tighten up a bunch of test accurasy requirements now that have FiniteDifferences v0.11.4 #315

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

Merged
merged 3 commits into from
Dec 2, 2020

Conversation

oxinabox
Copy link
Member

@oxinabox oxinabox commented Dec 1, 2020

Closes #284
by undoing the changes made in
9fc8c57#diff-18f60c608d1cadf3013a4e16d696c43ea9f488fa49caa48cb6b582481025bc0fR57
(well at least the once that required changing the atol/rtol, i figure the others can stay)

requires JuliaDiff/FiniteDifferences.jl#125

Comment on lines 142 to 143
# some tests struggle in fast_math mode to get accurasy so we relax it some.
frule_test(f, (x, Δx), (y, Δy); rtol=(is_fastmath_mode ? 1e-5 : 1e-7))
rrule_test(f, Δz, (x, x̄), (y, ȳ); rtol=(is_fastmath_mode ? 1e-5 : 1e-7))
frule_test(f, (x, Δx), (y, Δy))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we delete comment above too? (github doesn't seem to let me directly suggest that change)

@oxinabox oxinabox merged commit d8eea76 into master Dec 2, 2020
@oxinabox oxinabox deleted the ox/testhard branch December 2, 2020 15:59
oxinabox added a commit that referenced this pull request Dec 2, 2020
…e FiniteDifferences v0.11.4 (#315)"

This reverts commit d8eea76.
@oxinabox
Copy link
Member Author

oxinabox commented Dec 2, 2020

Weird that this was passing without JuliaDiff/FiniteDifferences.jl#125
being merged.
May have to revert if CI was bugging out somehow?

@willtebbutt
Copy link
Member

CI isn't currently functional, because travis. I believe the only test that was running was the Zygote integration GHA

oxinabox added a commit that referenced this pull request Dec 2, 2020
Revert "Tighten up a bunch of test accurasy requirements now that have FiniteDifferences v0.11.4 (#315)"
oxinabox added a commit that referenced this pull request Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

using FiniteDifferences v0.11 required relaxing a bunch of tests
4 participants