Skip to content

Commit d447b5a

Browse files
Automatic build\nPublished by build of: SciML/SciMLBenchmarks.jl@9844f0b
1 parent be89678 commit d447b5a

11 files changed

Lines changed: 3575 additions & 2877 deletions

File tree

markdown/AutomaticDifferentiation/BrussScaling.md

Lines changed: 1283 additions & 855 deletions
Large diffs are not rendered by default.

markdown/AutomaticDifferentiation/JuliaAD.md

Lines changed: 350 additions & 353 deletions
Large diffs are not rendered by default.

markdown/AutomaticDifferentiation/SimpleODEAD.md

Lines changed: 968 additions & 960 deletions
Large diffs are not rendered by default.
75.4 KB
Loading
72.8 KB
Loading
73.8 KB
Loading
74.4 KB
Loading
145 KB
Loading

script/AutomaticDifferentiation/BrussScaling.jl

Lines changed: 359 additions & 220 deletions
Large diffs are not rendered by default.

script/AutomaticDifferentiation/JuliaAD.jl

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,29 @@ function paritytrig(x::AbstractVector{T}) where {T}
1616
end
1717

1818
backends = [
19-
AutoEnzyme(mode=Enzyme.Reverse),
20-
AutoTapir(safe_mode=false),
21-
AutoZygote(),
19+
AutoEnzyme(mode = Enzyme.Reverse),
20+
AutoTapir(safe_mode = false),
21+
AutoZygote()
2222
];
2323

2424
scenarios = [
25-
GradientScenario(paritytrig; x=rand(100), y=0.0, nb_args=1, place=:inplace),
26-
GradientScenario(paritytrig; x=rand(10_000), y=0.0, nb_args=1, place=:inplace)
25+
GradientScenario(paritytrig; x = rand(100), y = 0.0, nb_args = 1, place = :inplace),
26+
GradientScenario(paritytrig; x = rand(10_000), y = 0.0, nb_args = 1, place = :inplace)
2727
];
2828

29-
data = benchmark_differentiation(backends, scenarios, logging=true);
29+
data = benchmark_differentiation(backends, scenarios, logging = true);
3030

3131
table = PrettyTables.pretty_table(
3232
String,
3333
data;
34-
backend=Val(:markdown),
35-
header=names(data),
36-
formatters=PrettyTables.ft_printf("%.1e"),
34+
backend = Val(:markdown),
35+
header = names(data),
36+
formatters = PrettyTables.ft_printf("%.1e")
3737
)
3838

3939
Markdown.parse(table)
4040

4141

4242
using SciMLBenchmarks
43-
SciMLBenchmarks.bench_footer(WEAVE_ARGS[:folder],WEAVE_ARGS[:file])
43+
SciMLBenchmarks.bench_footer(WEAVE_ARGS[:folder], WEAVE_ARGS[:file])
4444

0 commit comments

Comments
 (0)