Skip to content

Commit a5214a4

Browse files
comments etc.
1 parent 09e9551 commit a5214a4

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

benchmarking/benchmark.jl

+4-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ modelstrings = (
4949
"EfficientNetv2(:small)",
5050
"ConvMixer(:small)",
5151
"ConvNeXt(:small)",
52-
# "MLPMixer()", # found no tests
53-
# "ResMLP()", # found no tests
54-
# "gMLP()", # found no tests
52+
# "MLPMixer()", # no tests found
53+
# "ResMLP()", # no tests found
54+
# "gMLP()", # no tests found
5555
"ViT(:tiny)",
5656
"UNet()"
5757
)
@@ -60,6 +60,7 @@ for (i, modstring) in enumerate(modelstrings)
6060
@timeit to "$modstring" begin
6161
@info "Evaluating $i/$(length(modelstrings)) $modstring"
6262
@timeit to "First Load" eval(Meta.parse(modstring))
63+
# second load simulates what might be possible with a proper set-up pkgimage workload
6364
@timeit to "Second Load" model=eval(Meta.parse(modstring))
6465
@timeit to "Training" train(model,
6566
train_loader,

benchmarking/tooling.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ function train(args...;kwargs...)
9393
try
9494
_train(args...; kwargs...)
9595
catch ex
96-
rethrow()
96+
# rethrow()
9797
println()
9898
@error sprint(showerror, ex)
9999
GC.gc()
100100
return false
101101
end
102-
end
102+
end

0 commit comments

Comments
 (0)