File tree Expand file tree Collapse file tree
DifferentiationInterface/test/Back/Mooncake Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ using Test
77using ExplicitImports
88check_no_implicit_imports (DifferentiationInterface)
99
10+ nomatrix (scens) = filter (s -> ! (s. x isa AbstractMatrix) && ! (s. y isa AbstractMatrix), scens)
11+
1012backends = [
1113 AutoMooncake (),
1214 AutoMooncakeForward (),
@@ -20,14 +22,21 @@ for backend in backends
2022end
2123
2224test_differentiation (
23- backends,
25+ backends[ 3 : 4 ] ,
2426 default_scenarios (;
2527 include_constantified = true , include_cachified = true , use_tuples = true
2628 );
2729 excluded = SECOND_ORDER,
2830 logging = LOGGING,
2931);
3032
33+ test_differentiation (
34+ backends[1 : 2 ],
35+ nomatrix (default_scenarios ());
36+ excluded = SECOND_ORDER,
37+ logging = LOGGING,
38+ );
39+
3140EXCLUDED = @static if VERSION ≥ v " 1.11-" && VERSION ≤ v " 1.12-"
3241 # testing only :hessian on 1.11 due to an opaque closure bug.
3342 # this is potentially the same issue as discussed in
5463
5564test_differentiation (
5665 backends[3 : 4 ],
57- static_scenarios ();
66+ nomatrix ( static_scenarios () );
5867 logging = LOGGING,
5968 excluded = SECOND_ORDER
6069)
You can’t perform that action at this time.
0 commit comments