Skip to content

Commit

Permalink
Skip pretrained models for <1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Jun 8, 2022
1 parent fc38a40 commit cb58cfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Boltz/test/vision.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ models_available = Dict(alexnet => [(:alexnet, true), (:alexnet, false)],
@time begin @testset "name = $name & pretrained = $pretrained" for (name, pretrained) in config
if VERSION <= v"1.7" && pretrained
@warn "Skipping pretrained models in Julia < 1.7"
continue
end
model, ps, st = model_creator(name; pretrained)
st = Lux.testmode(st)
Expand Down

0 comments on commit cb58cfa

Please sign in to comment.