From 8647c817e50fca2405e68771682a1c8a67ea6073 Mon Sep 17 00:00:00 2001 From: Hong Ge <3279477+yebai@users.noreply.github.com> Date: Tue, 9 Jul 2024 22:12:51 +0100 Subject: [PATCH] Update runtests.jl --- test/runtests.jl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index f115438..9e4c6e3 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,6 +1,3 @@ -using Pkg -Pkg.add(Pkg.PackageSpec(; url="https://github.com/EnzymeAD/Enzyme.jl.git", rev="main")) - using DistributionsAD using Combinatorics @@ -15,6 +12,10 @@ using DistributionsAD: TuringMvNormal, TuringMvLogNormal, TuringPoissonBinomial, TuringDirichlet using StatsFuns: StatsFuns, logsumexp, logistic +import Enzyme +# Enable runtime activity (workaround) +Enzyme.API.runtimeActivity!(true) + @static if VERSION >= v"1.8" using Pkg; Pkg.status(outdated=true) # show reasons why packages are held back end