Skip to content

Commit 1d116b6

Browse files
committed
add old versions compat
1 parent 060fd66 commit 1d116b6

5 files changed

Lines changed: 4 additions & 16 deletions

File tree

‎Project.toml‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
1111
DifferentiationInterface = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63"
1212
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
1313
DistributionsAD = "ced4e74d-a319-5a8a-b0ac-84af2272839c"
14-
FastBroadcast = "7034ab61-46d4-4ed7-9d0f-46aef9175898"
1514
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
1615
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1716
Lux = "b2108857-7c20-44ae-9111-449ecde12c47"
@@ -24,7 +23,6 @@ NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
2423
Optimisers = "3bd65402-5787-11e9-1adc-39752487f4e2"
2524
OptimizationOptimisers = "42dfb2eb-d2b4-4451-abcd-913932933ac1"
2625
OrdinaryDiffEqAdamsBashforthMoulton = "89bda076-bce5-4f1c-845f-551c83cdda9a"
27-
Polyester = "f517fe37-dbe3-4b94-8317-1923a5111588"
2826
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
2927
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
3028
SciMLLogging = "a6db7da4-7206-11f0-1eab-35f2a5dbe1d1"
@@ -42,7 +40,6 @@ DataFrames = "1"
4240
DifferentiationInterface = "0.7"
4341
Distributions = "0.25"
4442
DistributionsAD = "0.6"
45-
FastBroadcast = "1"
4643
FillArrays = "1"
4744
LinearAlgebra = "1"
4845
Lux = "1"
@@ -54,10 +51,9 @@ MLUtils = "0.4"
5451
NNlib = "0.9"
5552
Optimisers = "0.4"
5653
OptimizationOptimisers = "0.3"
57-
OrdinaryDiffEqAdamsBashforthMoulton = "2"
58-
Polyester = "0.7"
54+
OrdinaryDiffEqAdamsBashforthMoulton = "1, 2"
5955
Random = "1"
60-
SciMLBase = "3"
56+
SciMLBase = "2, 3"
6157
SciMLLogging = "1, 2"
6258
SciMLSensitivity = "7"
6359
ScientificTypesBase = "3"

‎examples/Project.toml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ ContinuousNormalizingFlows = "00b1973d-5b2e-40bf-8604-5c9c1d8f50ac"
55
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
66
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
77
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
8-
FastBroadcast = "7034ab61-46d4-4ed7-9d0f-46aef9175898"
98
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
109
Lux = "b2108857-7c20-44ae-9111-449ecde12c47"
1110
MLDataDevices = "7e8f7934-dd98-4c1a-8fe8-92b47a384d40"
1211
MLJBase = "a7f614a8-145f-11e9-1d2a-a57a1082229d"
1312
OptimizationOptimisers = "42dfb2eb-d2b4-4451-abcd-913932933ac1"
1413
OrdinaryDiffEqAdamsBashforthMoulton = "89bda076-bce5-4f1c-845f-551c83cdda9a"
15-
Polyester = "f517fe37-dbe3-4b94-8317-1923a5111588"
1614
SciMLLogging = "a6db7da4-7206-11f0-1eab-35f2a5dbe1d1"
1715
SciMLSensitivity = "1ed8b502-d754-442c-8d5d-10ac956f44a1"
1816
TerminalLoggers = "5d786b92-1e48-4d6f-9151-6b4477ca9bed"

‎examples/usage.jl‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ n_hidden = n_in * 4
2020
using ContinuousNormalizingFlows,
2121
Lux,
2222
OrdinaryDiffEqAdamsBashforthMoulton,
23-
FastBroadcast,
24-
Polyester,
2523
SciMLLogging,
2624
SciMLSensitivity,
2725
ADTypes,
@@ -55,7 +53,7 @@ icnf = ICNF(;
5553
maxiters = typemax(Int),
5654
reltol = 1.0e-4,
5755
abstol = 1.0e-8,
58-
alg = VCABM(; thread = Threaded()),
56+
alg = VCABM(),
5957
sensealg = QuadratureAdjoint(;
6058
autodiff = true,
6159
autojacvec = ZygoteVJP(),

‎src/ContinuousNormalizingFlows.jl‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import ADTypes,
77
DifferentiationInterface,
88
Distributions,
99
DistributionsAD,
10-
FastBroadcast,
1110
FillArrays,
1211
LinearAlgebra,
1312
Lux,
@@ -20,7 +19,6 @@ import ADTypes,
2019
Optimisers,
2120
OptimizationOptimisers,
2221
OrdinaryDiffEqAdamsBashforthMoulton,
23-
Polyester,
2422
Random,
2523
SciMLBase,
2624
SciMLLogging,

‎src/core/icnf.jl‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,7 @@ function ICNF(;
8686
maxiters = typemax(Int),
8787
reltol = convert(data_type, 1.0e-4),
8888
abstol = convert(data_type, 1.0e-8),
89-
alg = OrdinaryDiffEqAdamsBashforthMoulton.VCABM(;
90-
thread = FastBroadcast.Threaded(),
91-
),
89+
alg = OrdinaryDiffEqAdamsBashforthMoulton.VCABM(),
9290
sensealg = SciMLSensitivity.QuadratureAdjoint(;
9391
autodiff = true,
9492
autojacvec = ifelse(

0 commit comments

Comments
 (0)