From d472bde862dbaa8074e6309c46cf4f97277ee89e Mon Sep 17 00:00:00 2001 From: Andreas Noack Date: Mon, 1 Sep 2025 16:40:34 +0200 Subject: [PATCH] Reenable JET tests These tests are currently failing. Possibly related to Static.jl. --- test/mnist.jl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/mnist.jl b/test/mnist.jl index d7d4944..db2e4bc 100644 --- a/test/mnist.jl +++ b/test/mnist.jl @@ -60,15 +60,15 @@ ENV["DATADEPS_ALWAYS_ACCEPT"] = "true" SimpleChains.ADAM(3e-4), 10 ) - # if VERSION >= v"1.10" - # @test_opt SimpleChains.train_batched!( - # p, - # lenetloss, - # xtrain4, - # SimpleChains.ADAM(3e-4), - # 10 - # ) - # end + if VERSION >= v"1.10" + @test_opt SimpleChains.train_batched!( + p, + lenetloss, + xtrain4, + SimpleChains.ADAM(3e-4), + 10 + ) + end @test all(isfinite, p) # @test all(isfinite, G) # assess training and test loss