Skip to content

Commit

Permalink
use polyalg (#395)
Browse files Browse the repository at this point in the history
* test polyalg

* fix

* rm

* format

* dep on oDE
  • Loading branch information
prbzrg authored May 22, 2024
1 parent 5dcacd7 commit f442019
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
4 changes: 0 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
ComputationalResources = "ed09eef8-17a6-5b46-8889-db040fac31e3"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"
DifferentiationInterface = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
DistributionsAD = "ced4e74d-a319-5a8a-b0ac-84af2272839c"
Expand All @@ -32,7 +31,6 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
SciMLSensitivity = "1ed8b502-d754-442c-8d5d-10ac956f44a1"
ScientificTypesBase = "30f210dd-8aff-4c5f-94ba-8e64358c1161"
Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

Expand All @@ -51,7 +49,6 @@ ComponentArrays = "0.15"
ComputationalResources = "0.3"
DataFrames = "1"
Dates = "1"
DifferentialEquations = "7"
DifferentiationInterface = "0.1, 0.2, 0.3, 0.4"
Distributions = "0.25"
DistributionsAD = "0.6"
Expand All @@ -72,7 +69,6 @@ Random = "1"
SciMLBase = "2"
SciMLSensitivity = "7"
ScientificTypesBase = "3"
Static = "0.8"
Statistics = "1"
Zygote = "0.6"
julia = "1.9"
2 changes: 0 additions & 2 deletions src/ContinuousNormalizingFlows.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import AbstractDifferentiation,
ComputationalResources,
DataFrames,
Dates,
DifferentialEquations,
DifferentiationInterface,
Distributions,
DistributionsAD,
Expand All @@ -27,7 +26,6 @@ import AbstractDifferentiation,
OrdinaryDiffEq,
Random,
ScientificTypesBase,
Static,
SciMLBase,
SciMLSensitivity,
Statistics,
Expand Down
5 changes: 1 addition & 4 deletions src/base_icnf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ function construct(
),
differentiation_backend::AbstractDifferentiation.AbstractBackend = AbstractDifferentiation.ZygoteBackend(),
autodiff_backend::ADTypes.AbstractADType = ADTypes.AutoZygote(),
sol_kwargs::NamedTuple = (
save_everystep = false,
alg = OrdinaryDiffEq.Tsit5(; thread = Static.True()),
),
sol_kwargs::NamedTuple = (save_everystep = false,),
rng::Random.AbstractRNG = rng_AT(resource),
λ₁::AbstractFloat = if aicnf <: Union{RNODE, CondRNODE}
convert(data_type, 1e-2)
Expand Down

0 comments on commit f442019

Please sign in to comment.