-
Notifications
You must be signed in to change notification settings - Fork 38
CompatHelper: bump compat for "ChainRulesCore" to "1" #344
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
willtebbutt
merged 14 commits into
master
from
compathelper/new_version/2021-07-24-00-38-28-620-1792200906
Aug 15, 2021
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
95f9816
CompatHelper: bump compat for "ChainRulesCore" to "1"
github-actions[bot] 66f9c54
Merge branch 'master' of github.com:JuliaGaussianProcesses/KernelFunc…
st-- 14eda4b
bump patch version
st-- 47be093
Update InplaceableThunks
willtebbutt 2a7d84b
Restrict to version 1
willtebbutt 7779bbf
Apply suggestions from code review
st-- 1a51b8b
Merge in master
willtebbutt fa36be7
Remove Flux dependency
willtebbutt 331bcef
Apply suggestions from code review
willtebbutt 0c4315e
Remove another Flux reference
willtebbutt f131426
Merge branch 'compathelper/new_version/2021-07-24-00-38-28-620-179220…
willtebbutt 97e6d02
FD + Zygote issue
willtebbutt 1b74364
Tweak fbm tests
willtebbutt 5bb4389
Note Flux code
willtebbutt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,17 +15,12 @@ | |
@test repr(k) == "Fractional Brownian Motion Kernel (h = $(h))" | ||
test_ADs(FBMKernel; ADs=[:ReverseDiff]) | ||
|
||
# Tests failing for ForwardDiff and [email protected] (obtained with Julia > 1.3). | ||
# Tests failing for ForwardDiff and [email protected]. | ||
# Related to: https://github.com/FluxML/Zygote.jl/issues/1036 | ||
@test_broken !isinf(ForwardDiff.gradient(x -> x[1]^x[2], [0.0, 0.9])[1]) | ||
if VERSION >= v"1.4.0" | ||
f(x, y) = x^y | ||
@test_broken !isinf( | ||
Zygote.gradient((x, y) -> sum(f.(x, y)), zeros(1), fill(0.9, 1))[1][1] | ||
) | ||
else | ||
test_ADs(FBMKernel; ADs=[:Zygote]) | ||
end | ||
f(x, y) = x^y | ||
@test_broken !isinf( | ||
Zygote.gradient((x, y) -> sum(f.(x, y)), zeros(1), fill(0.9, 1))[1][1] | ||
) | ||
|
||
test_params(k, ([h],)) | ||
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.