Skip to content
Draft
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
7 changes: 1 addition & 6 deletions test/ext_enzyme/enzyme.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,9 @@

if !Sys.iswindows()
@testset "enzyme gradients" begin
if VERSION >= v"1.12"
BROKEN_TESTS = ["Bilinear", "MultiHeadAttention"]
else
BROKEN_TESTS = []
end
for (model, x, name) in TEST_MODELS
@testset "Enzyme grad check $name" begin
@test test_gradients(model, x; reference=AutoZygote(), compare=AutoEnzyme()) broken=(name ∈ BROKEN_TESTS)
@test test_gradients(model, x; reference=AutoZygote(), compare=AutoEnzyme())
end
end
end
Expand Down
Loading