Skip to content

Commit 2c03c97

Browse files
committed
Changes
1 parent 045dbe3 commit 2c03c97

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

src/DynamicPPL.jl

-27
Original file line numberDiff line numberDiff line change
@@ -195,33 +195,6 @@ include("values_as_in_model.jl")
195195
include("debug_utils.jl")
196196
using .DebugUtils
197197

198-
if !isdefined(Base, :get_extension)
199-
using Requires
200-
end
201-
202-
@static if !isdefined(Base, :get_extension)
203-
function __init__()
204-
@require ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" include(
205-
"../ext/DynamicPPLChainRulesCoreExt.jl"
206-
)
207-
@require EnzymeCore = "f151be2c-9106-41f4-ab19-57ee4f262869" include(
208-
"../ext/DynamicPPLEnzymeCoreExt.jl"
209-
)
210-
@require ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210" include(
211-
"../ext/DynamicPPLForwardDiffExt.jl"
212-
)
213-
@require MCMCChains = "c7f686f2-ff18-58e9-bc7b-31028e88f75d" include(
214-
"../ext/DynamicPPLMCMCChainsExt.jl"
215-
)
216-
@require ReverseDiff = "37e2e3b7-166d-5795-8a7a-e32c996b4267" include(
217-
"../ext/DynamicPPLReverseDiffExt.jl"
218-
)
219-
@require ZygoteRules = "700de1a5-db45-46bc-99cf-38207098b444" include(
220-
"../ext/DynamicPPLZygoteRulesExt.jl"
221-
)
222-
end
223-
end
224-
225198
# Standard tag: Improves stacktraces
226199
# Ref: https://www.stochasticlifestyle.com/improved-forwarddiff-jl-stacktraces-with-package-tags/
227200
struct DynamicPPLTag end

test/runtests.jl

-3
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,13 @@ using LinearAlgebra # Diagonal
2828
using Combinatorics: combinations
2929

3030
using DynamicPPL: getargs_dottilde, getargs_tilde, Selector
31-
import DynamicPPLTestExt.TestExtUtils as TU
3231

3332
const DIRECTORY_DynamicPPL = dirname(dirname(pathof(DynamicPPL)))
3433
const DIRECTORY_Turing_tests = joinpath(DIRECTORY_DynamicPPL, "test", "turing")
3534
const GROUP = get(ENV, "GROUP", "All")
3635

3736
Random.seed!(100)
3837

39-
include("test_util.jl")
40-
4138
@testset "DynamicPPL.jl" begin
4239
if GROUP == "All" || GROUP == "DynamicPPL"
4340
@testset "interface" begin

0 commit comments

Comments
 (0)