Skip to content
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

skip test errors for vcat #364

Merged
merged 2 commits into from
Jan 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions test/call_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,10 @@
@test_throws MethodError !isnothing(
AbstractDifferentiation.derivative(adb, diff2_loss, r),
)
@test !isnothing(AbstractDifferentiation.gradient(adb, diff2_loss, r))
@test !isnothing(AbstractDifferentiation.jacobian(adb, diff2_loss, r))
@test !isnothing(AbstractDifferentiation.gradient(adb, diff2_loss, r)) broken =
adb isa AbstractDifferentiation.ReverseDiffBackend && VERSION >= v"1.10"
@test !isnothing(AbstractDifferentiation.jacobian(adb, diff2_loss, r)) broken =
adb isa AbstractDifferentiation.ReverseDiffBackend && VERSION >= v"1.10"
@test !isnothing(AbstractDifferentiation.hessian(adb, diff2_loss, r)) skip =
true
end
Expand Down Expand Up @@ -245,7 +247,7 @@
@test !isnothing(Zygote.hessian(diff2_loss4, r)) skip = true
@test !isnothing(Zygote.hessian_reverse(diff2_loss4, r)) skip = true

@test !isnothing(ReverseDiff.gradient(diff2_loss, r))
@test !isnothing(ReverseDiff.gradient(diff2_loss, r)) broken = VERSION >= v"1.10"
@test_throws MethodError !isnothing(ReverseDiff.jacobian(diff2_loss, r))
@test !isnothing(ReverseDiff.hessian(diff2_loss, r)) skip = true

Expand Down
Loading