From 85e7785ed6aa67cd5d6570322e74790df17ca79e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Jun 2026 12:45:07 +0000 Subject: [PATCH 1/7] Bump the all-julia-packages group across 5 directories with 25 updates Updates the requirements on [Bijectors](https://github.com/TuringLang/Bijectors.jl), [CUDA](https://github.com/JuliaGPU/CUDA.jl), [Distributions](https://github.com/JuliaStats/Distributions.jl), [Flux](https://github.com/FluxML/Flux.jl), [Functors](https://github.com/FluxML/Functors.jl), [Documenter](https://github.com/JuliaDocs/Documenter.jl), [LiveServer](https://github.com/JuliaDocs/LiveServer.jl), [NormalizingFlows](https://github.com/TuringLang/NormalizingFlows.jl), [DifferentiationInterface](https://github.com/JuliaDiff/DifferentiationInterface.jl), [StatsBase](https://github.com/JuliaStats/StatsBase.jl), [DocStringExtensions](https://github.com/JuliaDocs/DocStringExtensions.jl), [ProgressMeter](https://github.com/timholy/ProgressMeter.jl), [Optimisers](https://github.com/FluxML/Optimisers.jl), [ADTypes](https://github.com/SciML/ADTypes.jl), [BenchmarkTools](https://github.com/JuliaCI/BenchmarkTools.jl), [DiffResults](https://github.com/JuliaDiff/DiffResults.jl), [LogDensityProblems](https://github.com/tpapp/LogDensityProblems.jl), [IrrationalConstants](https://github.com/JuliaMath/IrrationalConstants.jl), [ReverseDiff](https://github.com/JuliaDiff/ReverseDiff.jl), [Plots](https://github.com/JuliaPlots/Plots.jl), [Enzyme](https://github.com/EnzymeAD/Enzyme.jl), [Zygote](https://github.com/FluxML/Zygote.jl), [Mooncake](https://github.com/chalk-lab/Mooncake.jl), [MonotonicSplines](https://github.com/bat/MonotonicSplines.jl) and [ForwardDiff](https://github.com/JuliaDiff/ForwardDiff.jl) to permit the latest version. Updates `Bijectors` to 0.16.1 - [Release notes](https://github.com/TuringLang/Bijectors.jl/releases) - [Changelog](https://github.com/TuringLang/Bijectors.jl/blob/main/HISTORY.md) - [Commits](https://github.com/TuringLang/Bijectors.jl/commits/v0.16.1) Updates `CUDA` to 6.2.0 - [Release notes](https://github.com/JuliaGPU/CUDA.jl/releases) - [Commits](https://github.com/JuliaGPU/CUDA.jl/compare/v5.0.0...v6.2.0) Updates `Distributions` to 0.25.128 - [Release notes](https://github.com/JuliaStats/Distributions.jl/releases) - [Commits](https://github.com/JuliaStats/Distributions.jl/compare/0.2.2...v0.25.128) Updates `Bijectors` to 0.16.1 - [Release notes](https://github.com/TuringLang/Bijectors.jl/releases) - [Changelog](https://github.com/TuringLang/Bijectors.jl/blob/main/HISTORY.md) - [Commits](https://github.com/TuringLang/Bijectors.jl/commits/v0.16.1) Updates `Flux` to 0.16.10 - [Release notes](https://github.com/FluxML/Flux.jl/releases) - [Changelog](https://github.com/FluxML/Flux.jl/blob/master/NEWS.md) - [Commits](https://github.com/FluxML/Flux.jl/compare/v0.1.0...v0.16.10) Updates `Functors` to 0.5.2 - [Release notes](https://github.com/FluxML/Functors.jl/releases) - [Commits](https://github.com/FluxML/Functors.jl/compare/v0.1.0...v0.5.2) Updates `Documenter` to 1.17.0 - [Release notes](https://github.com/JuliaDocs/Documenter.jl/releases) - [Changelog](https://github.com/JuliaDocs/Documenter.jl/blob/master/CHANGELOG.md) - [Commits](https://github.com/JuliaDocs/Documenter.jl/compare/v0.1.0...v1.17.0) Updates `LiveServer` to 1.5.0 - [Release notes](https://github.com/JuliaDocs/LiveServer.jl/releases) - [Commits](https://github.com/JuliaDocs/LiveServer.jl/compare/v0.1.0...v1.5.0) Updates `NormalizingFlows` to 0.2.2 - [Release notes](https://github.com/TuringLang/NormalizingFlows.jl/releases) - [Commits](https://github.com/TuringLang/NormalizingFlows.jl/compare/v0.1.0...v0.2.2) Updates `Distributions` to 0.25.128 - [Release notes](https://github.com/JuliaStats/Distributions.jl/releases) - [Commits](https://github.com/JuliaStats/Distributions.jl/compare/0.2.2...v0.25.128) Updates `Bijectors` to 0.16.1 - [Release notes](https://github.com/TuringLang/Bijectors.jl/releases) - [Changelog](https://github.com/TuringLang/Bijectors.jl/blob/main/HISTORY.md) - [Commits](https://github.com/TuringLang/Bijectors.jl/commits/v0.16.1) Updates `DifferentiationInterface` to 0.7.18 - [Release notes](https://github.com/JuliaDiff/DifferentiationInterface.jl/releases) - [Commits](https://github.com/JuliaDiff/DifferentiationInterface.jl/compare/DifferentiationInterface-v0.1.0...DifferentiationInterface-v0.7.18) Updates `StatsBase` to 0.34.12 - [Release notes](https://github.com/JuliaStats/StatsBase.jl/releases) - [Commits](https://github.com/JuliaStats/StatsBase.jl/compare/0.2.3...v0.34.12) Updates `DocStringExtensions` to 0.9.5 - [Release notes](https://github.com/JuliaDocs/DocStringExtensions.jl/releases) - [Commits](https://github.com/JuliaDocs/DocStringExtensions.jl/compare/v0.1.0...v0.9.5) Updates `ProgressMeter` to 1.11.0 - [Release notes](https://github.com/timholy/ProgressMeter.jl/releases) - [Commits](https://github.com/timholy/ProgressMeter.jl/compare/v0.0.2...v1.11.0) Updates `Optimisers` to 0.4.7 - [Release notes](https://github.com/FluxML/Optimisers.jl/releases) - [Commits](https://github.com/FluxML/Optimisers.jl/compare/v0.1.0...v0.4.7) Updates `Functors` to 0.5.2 - [Release notes](https://github.com/FluxML/Functors.jl/releases) - [Commits](https://github.com/FluxML/Functors.jl/compare/v0.1.0...v0.5.2) Updates `ADTypes` to 1.22.1 - [Release notes](https://github.com/SciML/ADTypes.jl/releases) - [Commits](https://github.com/SciML/ADTypes.jl/compare/v0.1.0...v1.22.1) Updates `NormalizingFlows` to 0.2.2 - [Release notes](https://github.com/TuringLang/NormalizingFlows.jl/releases) - [Commits](https://github.com/TuringLang/NormalizingFlows.jl/compare/v0.1.0...v0.2.2) Updates `BenchmarkTools` to 1.8.0 - [Release notes](https://github.com/JuliaCI/BenchmarkTools.jl/releases) - [Commits](https://github.com/JuliaCI/BenchmarkTools.jl/compare/v0.0.1...v1.8.0) Updates `DiffResults` to 1.1.0 - [Release notes](https://github.com/JuliaDiff/DiffResults.jl/releases) - [Commits](https://github.com/JuliaDiff/DiffResults.jl/compare/v0.0.1...v1.1.0) Updates `LogDensityProblems` to 2.2.0 - [Release notes](https://github.com/tpapp/LogDensityProblems.jl/releases) - [Changelog](https://github.com/tpapp/LogDensityProblems.jl/blob/master/CHANGELOG.md) - [Commits](https://github.com/tpapp/LogDensityProblems.jl/compare/v0.1.0...v2.2.0) Updates `IrrationalConstants` to 0.2.6 - [Release notes](https://github.com/JuliaMath/IrrationalConstants.jl/releases) - [Commits](https://github.com/JuliaMath/IrrationalConstants.jl/compare/v0.1.0...v0.2.6) Updates `ReverseDiff` to 1.17.0 - [Release notes](https://github.com/JuliaDiff/ReverseDiff.jl/releases) - [Commits](https://github.com/JuliaDiff/ReverseDiff.jl/compare/v0.0.1...v1.17.0) Updates `Plots` to 1.41.6 - [Release notes](https://github.com/JuliaPlots/Plots.jl/releases) - [Changelog](https://github.com/JuliaPlots/Plots.jl/blob/v2/NEWS.md) - [Commits](https://github.com/JuliaPlots/Plots.jl/compare/Plots-v1.41.5+docs...Plots-v1.41.6) Updates `Enzyme` to 0.13.168 - [Release notes](https://github.com/EnzymeAD/Enzyme.jl/releases) - [Commits](https://github.com/EnzymeAD/Enzyme.jl/compare/v0.1.0...v0.13.168) Updates `Zygote` to 0.7.11 - [Release notes](https://github.com/FluxML/Zygote.jl/releases) - [Commits](https://github.com/FluxML/Zygote.jl/compare/v0.1.0...v0.7.11) Updates `Mooncake` to 0.5.33 - [Release notes](https://github.com/chalk-lab/Mooncake.jl/releases) - [Changelog](https://github.com/chalk-lab/Mooncake.jl/blob/main/HISTORY.md) - [Commits](https://github.com/chalk-lab/Mooncake.jl/compare/v0.4.142...v0.5.33) Updates `MonotonicSplines` to 0.3.3 - [Release notes](https://github.com/bat/MonotonicSplines.jl/releases) - [Commits](https://github.com/bat/MonotonicSplines.jl/compare/v0.1.0...v0.3.3) Updates `Distributions` to 0.25.128 - [Release notes](https://github.com/JuliaStats/Distributions.jl/releases) - [Commits](https://github.com/JuliaStats/Distributions.jl/compare/0.2.2...v0.25.128) Updates `Bijectors` to 0.16.1 - [Release notes](https://github.com/TuringLang/Bijectors.jl/releases) - [Changelog](https://github.com/TuringLang/Bijectors.jl/blob/main/HISTORY.md) - [Commits](https://github.com/TuringLang/Bijectors.jl/commits/v0.16.1) Updates `DifferentiationInterface` to 0.7.18 - [Release notes](https://github.com/JuliaDiff/DifferentiationInterface.jl/releases) - [Commits](https://github.com/JuliaDiff/DifferentiationInterface.jl/compare/DifferentiationInterface-v0.1.0...DifferentiationInterface-v0.7.18) Updates `Flux` to 0.16.10 - [Release notes](https://github.com/FluxML/Flux.jl/releases) - [Changelog](https://github.com/FluxML/Flux.jl/blob/master/NEWS.md) - [Commits](https://github.com/FluxML/Flux.jl/compare/v0.1.0...v0.16.10) Updates `Optimisers` to 0.4.7 - [Release notes](https://github.com/FluxML/Optimisers.jl/releases) - [Commits](https://github.com/FluxML/Optimisers.jl/compare/v0.1.0...v0.4.7) Updates `Functors` to 0.5.2 - [Release notes](https://github.com/FluxML/Functors.jl/releases) - [Commits](https://github.com/FluxML/Functors.jl/compare/v0.1.0...v0.5.2) Updates `ADTypes` to 1.22.1 - [Release notes](https://github.com/SciML/ADTypes.jl/releases) - [Commits](https://github.com/SciML/ADTypes.jl/compare/v0.1.0...v1.22.1) Updates `NormalizingFlows` to 0.2.2 - [Release notes](https://github.com/TuringLang/NormalizingFlows.jl/releases) - [Commits](https://github.com/TuringLang/NormalizingFlows.jl/compare/v0.1.0...v0.2.2) Updates `ReverseDiff` to 1.17.0 - [Release notes](https://github.com/JuliaDiff/ReverseDiff.jl/releases) - [Commits](https://github.com/JuliaDiff/ReverseDiff.jl/compare/v0.0.1...v1.17.0) Updates `Enzyme` to 0.13.168 - [Release notes](https://github.com/EnzymeAD/Enzyme.jl/releases) - [Commits](https://github.com/EnzymeAD/Enzyme.jl/compare/v0.1.0...v0.13.168) Updates `Zygote` to 0.7.11 - [Release notes](https://github.com/FluxML/Zygote.jl/releases) - [Commits](https://github.com/FluxML/Zygote.jl/compare/v0.1.0...v0.7.11) Updates `Mooncake` to 0.5.33 - [Release notes](https://github.com/chalk-lab/Mooncake.jl/releases) - [Changelog](https://github.com/chalk-lab/Mooncake.jl/blob/main/HISTORY.md) - [Commits](https://github.com/chalk-lab/Mooncake.jl/compare/v0.4.142...v0.5.33) Updates `ForwardDiff` to 1.4.1 - [Release notes](https://github.com/JuliaDiff/ForwardDiff.jl/releases) - [Commits](https://github.com/JuliaDiff/ForwardDiff.jl/compare/v0.0.2...v1.4.1) Updates `Distributions` to 0.25.128 - [Release notes](https://github.com/JuliaStats/Distributions.jl/releases) - [Commits](https://github.com/JuliaStats/Distributions.jl/compare/0.2.2...v0.25.128) Updates `Bijectors` to 0.16.1 - [Release notes](https://github.com/TuringLang/Bijectors.jl/releases) - [Changelog](https://github.com/TuringLang/Bijectors.jl/blob/main/HISTORY.md) - [Commits](https://github.com/TuringLang/Bijectors.jl/commits/v0.16.1) Updates `Flux` to 0.16.10 - [Release notes](https://github.com/FluxML/Flux.jl/releases) - [Changelog](https://github.com/FluxML/Flux.jl/blob/master/NEWS.md) - [Commits](https://github.com/FluxML/Flux.jl/compare/v0.1.0...v0.16.10) Updates `CUDA` to 6.2.0 - [Release notes](https://github.com/JuliaGPU/CUDA.jl/releases) - [Commits](https://github.com/JuliaGPU/CUDA.jl/compare/v5.0.0...v6.2.0) Updates `NormalizingFlows` to 0.2.2 - [Release notes](https://github.com/TuringLang/NormalizingFlows.jl/releases) - [Commits](https://github.com/TuringLang/NormalizingFlows.jl/compare/v0.1.0...v0.2.2) --- updated-dependencies: - dependency-name: ADTypes dependency-version: 1.22.0 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: ADTypes dependency-version: 1.22.0 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: BenchmarkTools dependency-version: 1.8.0 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Bijectors dependency-version: 0.16.0 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Bijectors dependency-version: 0.16.0 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Bijectors dependency-version: 0.16.0 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Bijectors dependency-version: 0.16.0 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Bijectors dependency-version: 0.16.0 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: CUDA dependency-version: 6.1.0 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: CUDA dependency-version: 6.1.0 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: DifferentiationInterface dependency-version: 0.7.18 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: DifferentiationInterface dependency-version: 0.7.18 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: DiffResults dependency-version: 1.1.0 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Distributions dependency-version: 0.25.126 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Distributions dependency-version: 0.25.126 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Distributions dependency-version: 0.25.126 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Distributions dependency-version: 0.25.126 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: DocStringExtensions dependency-version: 0.9.5 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Documenter dependency-version: 1.17.0 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Enzyme dependency-version: 0.13.153 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Enzyme dependency-version: 0.13.153 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Flux dependency-version: 0.16.10 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Flux dependency-version: 0.16.10 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Flux dependency-version: 0.16.10 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: ForwardDiff dependency-version: 1.3.3 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Functors dependency-version: 0.5.2 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Functors dependency-version: 0.5.2 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Functors dependency-version: 0.5.2 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: IrrationalConstants dependency-version: 0.2.6 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: LiveServer dependency-version: 1.5.0 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: LogDensityProblems dependency-version: 2.2.0 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: MonotonicSplines dependency-version: 0.3.3 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Mooncake dependency-version: 0.5.31 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Mooncake dependency-version: 0.5.31 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: NormalizingFlows dependency-version: 0.2.2 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: NormalizingFlows dependency-version: 0.2.2 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: NormalizingFlows dependency-version: 0.2.2 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: NormalizingFlows dependency-version: 0.2.2 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Optimisers dependency-version: 0.4.7 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Optimisers dependency-version: 0.4.7 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Plots dependency-version: 1.41.6 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: ProgressMeter dependency-version: 1.11.0 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: ReverseDiff dependency-version: 1.16.2 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: ReverseDiff dependency-version: 1.16.2 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: StatsBase dependency-version: 0.34.11 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Zygote dependency-version: 0.7.10 dependency-type: direct:production dependency-group: all-julia-packages - dependency-name: Zygote dependency-version: 0.7.10 dependency-type: direct:production dependency-group: all-julia-packages ... Signed-off-by: dependabot[bot] --- Project.toml | 4 ++-- docs/Project.toml | 9 +++++++++ example/Project.toml | 21 +++++++++++++++++++-- test/Project.toml | 15 ++++++++++++++- test/ext/CUDA/Project.toml | 8 +++++++- 5 files changed, 51 insertions(+), 6 deletions(-) diff --git a/Project.toml b/Project.toml index 4c49b8f1..109b2122 100644 --- a/Project.toml +++ b/Project.toml @@ -25,8 +25,8 @@ NormalizingFlowsCUDAExt = "CUDA" [compat] ADTypes = "1" -Bijectors = "0.12.6, 0.13, 0.14, 0.15" -CUDA = "5" +Bijectors = "0.12.6, 0.13, 0.14, 0.15, 0.16" +CUDA = "5, 6.2" DifferentiationInterface = "0.6, 0.7" Distributions = "0.25" DocStringExtensions = "0.9" diff --git a/docs/Project.toml b/docs/Project.toml index 6d3e8699..11d0615a 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -8,3 +8,12 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" LiveServer = "16fef848-5104-11e9-1b77-fb7a48bbb589" NormalizingFlows = "50e4474d-9f12-44b7-af7a-91ab30ff6256" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" + +[compat] +Bijectors = "0.16.1" +Distributions = "0.25.128" +Documenter = "1.17.0" +Flux = "0.16.10" +Functors = "0.5.2" +LiveServer = "1.5.0" +NormalizingFlows = "0.2.2" diff --git a/example/Project.toml b/example/Project.toml index 79c847be..0a5287b0 100644 --- a/example/Project.toml +++ b/example/Project.toml @@ -22,7 +22,24 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" [compat] -Mooncake = "0.4.142" - +ADTypes = "1.22.1" +BenchmarkTools = "1.8.0" +Bijectors = "0.16.1" +DiffResults = "1.1.0" +DifferentiationInterface = "0.7.18" +Distributions = "0.25.128" +DocStringExtensions = "0.9.5" +Enzyme = "0.13.168" +Functors = "0.5.2" +IrrationalConstants = "0.2.6" +LogDensityProblems = "2.2.0" +Mooncake = "0.4.142, 0.5" +NormalizingFlows = "0.2.2" +Optimisers = "0.4.7" +Plots = "1.41.6" +ProgressMeter = "1.11.0" +ReverseDiff = "1.17.0" +StatsBase = "0.34.12" +Zygote = "0.7.11" [extras] CUDA_Runtime_jll = "76a88914-d11a-5bdc-97e0-2f5a05c973a2" diff --git a/test/Project.toml b/test/Project.toml index 6e9455f9..62ab4e69 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -18,4 +18,17 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" [compat] -Mooncake = "0.4.142" +ADTypes = "1.22.1" +Bijectors = "0.16.1" +DifferentiationInterface = "0.7.18" +Distributions = "0.25.128" +Enzyme = "0.13.168" +Flux = "0.16.10" +ForwardDiff = "1.4.1" +Functors = "0.5.2" +MonotonicSplines = "0.3.3" +Mooncake = "0.4.142, 0.5" +NormalizingFlows = "0.2.2" +Optimisers = "0.4.7" +ReverseDiff = "1.17.0" +Zygote = "0.7.11" diff --git a/test/ext/CUDA/Project.toml b/test/ext/CUDA/Project.toml index 42a8d06b..745bb268 100644 --- a/test/ext/CUDA/Project.toml +++ b/test/ext/CUDA/Project.toml @@ -5,4 +5,10 @@ Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" NormalizingFlows = "50e4474d-9f12-44b7-af7a-91ab30ff6256" -Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" \ No newline at end of file +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" +[compat] +Bijectors = "0.16.1" +CUDA = "6.2.0" +Distributions = "0.25.128" +Flux = "0.16.10" +NormalizingFlows = "0.2.2" From 5acdbb50fb0639ed5ae9c28ad24bde27e7481775 Mon Sep 17 00:00:00 2001 From: Shravan Goswami Date: Thu, 16 Jul 2026 18:24:56 +0530 Subject: [PATCH 2/7] Refresh test pins, this PR sat for 3 weeks and several patches shipped since --- docs/Project.toml | 4 ++-- example/Project.toml | 10 +++++----- test/Project.toml | 10 +++++----- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index 11d0615a..900b5371 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -10,8 +10,8 @@ NormalizingFlows = "50e4474d-9f12-44b7-af7a-91ab30ff6256" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" [compat] -Bijectors = "0.16.1" -Distributions = "0.25.128" +Bijectors = "0.16.2" +Distributions = "0.25.129" Documenter = "1.17.0" Flux = "0.16.10" Functors = "0.5.2" diff --git a/example/Project.toml b/example/Project.toml index 0a5287b0..2d150f43 100644 --- a/example/Project.toml +++ b/example/Project.toml @@ -22,14 +22,14 @@ StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91" Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" [compat] -ADTypes = "1.22.1" +ADTypes = "1.22.2" BenchmarkTools = "1.8.0" -Bijectors = "0.16.1" +Bijectors = "0.16.2" DiffResults = "1.1.0" -DifferentiationInterface = "0.7.18" -Distributions = "0.25.128" +DifferentiationInterface = "0.7.20" +Distributions = "0.25.129" DocStringExtensions = "0.9.5" -Enzyme = "0.13.168" +Enzyme = "0.13.185" Functors = "0.5.2" IrrationalConstants = "0.2.6" LogDensityProblems = "2.2.0" diff --git a/test/Project.toml b/test/Project.toml index 62ab4e69..f67515f0 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -18,11 +18,11 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" [compat] -ADTypes = "1.22.1" -Bijectors = "0.16.1" -DifferentiationInterface = "0.7.18" -Distributions = "0.25.128" -Enzyme = "0.13.168" +ADTypes = "1.22.2" +Bijectors = "0.16.2" +DifferentiationInterface = "0.7.20" +Distributions = "0.25.129" +Enzyme = "0.13.185" Flux = "0.16.10" ForwardDiff = "1.4.1" Functors = "0.5.2" From 497285e44e61cd5892856ac2e2d18700eaf16728 Mon Sep 17 00:00:00 2001 From: Shravan Goswami Date: Thu, 16 Jul 2026 21:22:04 +0530 Subject: [PATCH 3/7] Route AD through AbstractPPL's evaluator interface, drop DifferentiationInterface --- Project.toml | 4 ++-- docs/src/usage.md | 8 +++++++- example/demo_neural_spline_flow.jl | 2 +- src/NormalizingFlows.jl | 11 ++++++++--- src/optimize.jl | 9 ++++++--- 5 files changed, 24 insertions(+), 10 deletions(-) diff --git a/Project.toml b/Project.toml index 109b2122..9e4d9d33 100644 --- a/Project.toml +++ b/Project.toml @@ -4,8 +4,8 @@ version = "0.2.2" [deps] ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" +AbstractPPL = "7a57a42e-76ec-4ea3-a279-07e840d6d9cf" Bijectors = "76274a88-744f-5084-9051-94815aaf08c4" -DifferentiationInterface = "a0c0ee7d-e4b9-4e03-894e-1c5f64a51d63" Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f" DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c" @@ -25,9 +25,9 @@ NormalizingFlowsCUDAExt = "CUDA" [compat] ADTypes = "1" +AbstractPPL = "0.15.4" Bijectors = "0.12.6, 0.13, 0.14, 0.15, 0.16" CUDA = "5, 6.2" -DifferentiationInterface = "0.6, 0.7" Distributions = "0.25" DocStringExtensions = "0.9" Flux = "0.16" diff --git a/docs/src/usage.md b/docs/src/usage.md index cefb8167..7635c0f5 100644 --- a/docs/src/usage.md +++ b/docs/src/usage.md @@ -37,4 +37,10 @@ flow_trained, stats, _ = train_flow( ADbackend=ADTypes.AutoMooncake(; config=Mooncake.Config()), show_progress=true, ) -``` \ No newline at end of file +``` + +Gradients are computed through AbstractPPL's evaluator interface, so the chosen +AD backend package must be loaded first: `using ForwardDiff` for +`AutoForwardDiff`, `using Mooncake` for `AutoMooncake` (as above), and for the +other backends (`AutoZygote`, `AutoReverseDiff`, `AutoEnzyme`) additionally +`using DifferentiationInterface` alongside the backend package. \ No newline at end of file diff --git a/example/demo_neural_spline_flow.jl b/example/demo_neural_spline_flow.jl index 4e98c308..29d7a894 100644 --- a/example/demo_neural_spline_flow.jl +++ b/example/demo_neural_spline_flow.jl @@ -1,7 +1,7 @@ using Random, Distributions, LinearAlgebra using Functors using Optimisers, ADTypes -using Zygote +using Zygote, DifferentiationInterface using NormalizingFlows include("SyntheticTargets.jl") diff --git a/src/NormalizingFlows.jl b/src/NormalizingFlows.jl index 70c46996..66de3f55 100644 --- a/src/NormalizingFlows.jl +++ b/src/NormalizingFlows.jl @@ -10,7 +10,7 @@ using StatsBase using Bijectors using Bijectors: PartitionMask, Inverse, combine, partition using Functors -import DifferentiationInterface as DI +using AbstractPPL: AbstractPPL using DocStringExtensions @@ -31,15 +31,20 @@ Arguments # Keyword Arguments - `max_iters::Int=1000`: maximum number of iterations - `optimiser::Optimisers.AbstractRule=Optimisers.ADAM()`: optimiser to compute the steps -- `ADbackend::ADTypes.AbstractADType=ADTypes.AutoZygote()`: +- `ADbackend::ADTypes.AbstractADType=ADTypes.AutoZygote()`: automatic differentiation backend, currently supports - `ADTypes.AutoZygote()`, `ADTypes.ForwardDiff()`, `ADTypes.ReverseDiff()`, + `ADTypes.AutoZygote()`, `ADTypes.ForwardDiff()`, `ADTypes.ReverseDiff()`, `ADTypes.AutoMooncake()` and `ADTypes.AutoEnzyme(; mode=Enzyme.set_runtime_activity(Enzyme.Reverse), function_annotation=Enzyme.Const, )`. If user wants to use `AutoEnzyme`, please make sure to include the `set_runtime_activity` and `function_annotation` as shown above. + Gradients are computed through AbstractPPL's evaluator interface, so the + chosen backend package must be loaded first: `using ForwardDiff` for + `AutoForwardDiff`, `using Mooncake` for `AutoMooncake`, and for the other + backends (`AutoZygote`, `AutoReverseDiff`, `AutoEnzyme`) additionally + `using DifferentiationInterface` alongside the backend package. - `kwargs...`: additional keyword arguments for `optimize` (See [`optimize`](@ref) for details) # Returns diff --git a/src/optimize.jl b/src/optimize.jl index b4adad91..cc8dc82f 100644 --- a/src/optimize.jl +++ b/src/optimize.jl @@ -6,11 +6,14 @@ function pm_next!(pm, stats::NamedTuple) end function _prepare_gradient(loss, adbackend, θ, args...) - return DI.prepare_gradient(loss, adbackend, θ, map(DI.Constant, args)...) + return AbstractPPL.prepare(adbackend, loss, θ; context=args) end function _value_and_gradient(loss, prep, adbackend, θ, args...) - return DI.value_and_gradient(loss, prep, adbackend, θ, map(DI.Constant, args)...) + val, grad = AbstractPPL.value_and_gradient!!(prep, θ) + # value_and_gradient!! may return a gradient aliasing the prep's internal + # buffer, which the next call overwrites + return val, copy(grad) end """ @@ -31,7 +34,7 @@ Iteratively updating the parameters `θ` of the normalizing flow `re(θ)` by cal - `loss`: a general loss function θ -> loss(θ, args...) returning a scalar loss value that will be minimised - `θ₀::AbstractVector{T}`: initial parameters for the loss function (in the context of normalizing flows, it will be the flattened flow parameters) - `re`: reconstruction function that maps the flattened parameters to the normalizing flow -- `args...`: additional arguments for `loss` (will be set as DI.Constant) +- `args...`: additional arguments for `loss` (treated as constants during differentiation) # Keyword Arguments - `max_iters::Int=10000`: maximum number of iterations From 11d1d701a548f041fffdac0128e3b51de03a27dd Mon Sep 17 00:00:00 2001 From: Shravan Goswami Date: Thu, 16 Jul 2026 21:22:15 +0530 Subject: [PATCH 4/7] Bump version to 0.3.0 and add HISTORY.md --- HISTORY.md | 15 +++++++++++++++ Project.toml | 2 +- docs/Project.toml | 2 +- example/Project.toml | 2 +- test/Project.toml | 2 +- test/ext/CUDA/Project.toml | 6 +++--- 6 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 HISTORY.md diff --git a/HISTORY.md b/HISTORY.md new file mode 100644 index 00000000..a84ac288 --- /dev/null +++ b/HISTORY.md @@ -0,0 +1,15 @@ +# 0.3.0 + +## Breaking changes + +DifferentiationInterface has been removed as a dependency. Automatic differentiation is now routed through AbstractPPL's evaluator interface (`AbstractPPL.prepare` and `AbstractPPL.value_and_gradient!!`), following the rest of the Turing ecosystem. + +For users, the consequence is that the AD backend package must be loaded so that its `AbstractPPL.prepare` method is available: + + - `AutoForwardDiff` works with `using ForwardDiff`. + - `AutoMooncake` works with `using Mooncake`. + - Other backends routed through DifferentiationInterface (`AutoZygote`, `AutoReverseDiff`, `AutoEnzyme`) additionally require `using DifferentiationInterface` alongside the concrete backend package. + +## Other changes + +Bijectors compat now includes 0.16 and CUDA compat now includes 6. diff --git a/Project.toml b/Project.toml index 9e4d9d33..29e2553a 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "NormalizingFlows" uuid = "50e4474d-9f12-44b7-af7a-91ab30ff6256" -version = "0.2.2" +version = "0.3.0" [deps] ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" diff --git a/docs/Project.toml b/docs/Project.toml index 900b5371..1241a55b 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -16,4 +16,4 @@ Documenter = "1.17.0" Flux = "0.16.10" Functors = "0.5.2" LiveServer = "1.5.0" -NormalizingFlows = "0.2.2" +NormalizingFlows = "0.3.0" diff --git a/example/Project.toml b/example/Project.toml index 2d150f43..5ff38979 100644 --- a/example/Project.toml +++ b/example/Project.toml @@ -34,7 +34,7 @@ Functors = "0.5.2" IrrationalConstants = "0.2.6" LogDensityProblems = "2.2.0" Mooncake = "0.4.142, 0.5" -NormalizingFlows = "0.2.2" +NormalizingFlows = "0.3.0" Optimisers = "0.4.7" Plots = "1.41.6" ProgressMeter = "1.11.0" diff --git a/test/Project.toml b/test/Project.toml index f67515f0..6da9aefb 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -28,7 +28,7 @@ ForwardDiff = "1.4.1" Functors = "0.5.2" MonotonicSplines = "0.3.3" Mooncake = "0.4.142, 0.5" -NormalizingFlows = "0.2.2" +NormalizingFlows = "0.3.0" Optimisers = "0.4.7" ReverseDiff = "1.17.0" Zygote = "0.7.11" diff --git a/test/ext/CUDA/Project.toml b/test/ext/CUDA/Project.toml index 745bb268..e74d14f1 100644 --- a/test/ext/CUDA/Project.toml +++ b/test/ext/CUDA/Project.toml @@ -7,8 +7,8 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" NormalizingFlows = "50e4474d-9f12-44b7-af7a-91ab30ff6256" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] -Bijectors = "0.16.1" +Bijectors = "0.16.2" CUDA = "6.2.0" -Distributions = "0.25.128" +Distributions = "0.25.129" Flux = "0.16.10" -NormalizingFlows = "0.2.2" +NormalizingFlows = "0.3.0" From 638b905cf55419495bc52bc76ef45e54e0ee5104 Mon Sep 17 00:00:00 2001 From: Shravan Goswami Date: Thu, 16 Jul 2026 21:32:21 +0530 Subject: [PATCH 5/7] One sentence per line in the new docs text --- HISTORY.md | 2 +- docs/src/usage.md | 8 +++----- src/NormalizingFlows.jl | 8 +++----- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index a84ac288..f25540ca 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,7 +4,7 @@ DifferentiationInterface has been removed as a dependency. Automatic differentiation is now routed through AbstractPPL's evaluator interface (`AbstractPPL.prepare` and `AbstractPPL.value_and_gradient!!`), following the rest of the Turing ecosystem. -For users, the consequence is that the AD backend package must be loaded so that its `AbstractPPL.prepare` method is available: +The AD backend package must now be loaded so that its `AbstractPPL.prepare` method is available: - `AutoForwardDiff` works with `using ForwardDiff`. - `AutoMooncake` works with `using Mooncake`. diff --git a/docs/src/usage.md b/docs/src/usage.md index 7635c0f5..9e62f994 100644 --- a/docs/src/usage.md +++ b/docs/src/usage.md @@ -39,8 +39,6 @@ flow_trained, stats, _ = train_flow( ) ``` -Gradients are computed through AbstractPPL's evaluator interface, so the chosen -AD backend package must be loaded first: `using ForwardDiff` for -`AutoForwardDiff`, `using Mooncake` for `AutoMooncake` (as above), and for the -other backends (`AutoZygote`, `AutoReverseDiff`, `AutoEnzyme`) additionally -`using DifferentiationInterface` alongside the backend package. \ No newline at end of file +Gradients are computed through AbstractPPL's evaluator interface, so the chosen AD backend package must be loaded first. +`AutoForwardDiff` needs `using ForwardDiff`, and `AutoMooncake` needs `using Mooncake` (as above). +The other backends (`AutoZygote`, `AutoReverseDiff`, `AutoEnzyme`) additionally need `using DifferentiationInterface` alongside the backend package. \ No newline at end of file diff --git a/src/NormalizingFlows.jl b/src/NormalizingFlows.jl index 66de3f55..2f754377 100644 --- a/src/NormalizingFlows.jl +++ b/src/NormalizingFlows.jl @@ -40,11 +40,9 @@ Arguments function_annotation=Enzyme.Const, )`. If user wants to use `AutoEnzyme`, please make sure to include the `set_runtime_activity` and `function_annotation` as shown above. - Gradients are computed through AbstractPPL's evaluator interface, so the - chosen backend package must be loaded first: `using ForwardDiff` for - `AutoForwardDiff`, `using Mooncake` for `AutoMooncake`, and for the other - backends (`AutoZygote`, `AutoReverseDiff`, `AutoEnzyme`) additionally - `using DifferentiationInterface` alongside the backend package. + Gradients are computed through AbstractPPL's evaluator interface, so the chosen backend package must be loaded first. + `AutoForwardDiff` needs `using ForwardDiff`, and `AutoMooncake` needs `using Mooncake`. + The other backends (`AutoZygote`, `AutoReverseDiff`, `AutoEnzyme`) additionally need `using DifferentiationInterface` alongside the backend package. - `kwargs...`: additional keyword arguments for `optimize` (See [`optimize`](@ref) for details) # Returns From 1c0e8cb12c7b09e7a41447acfe00429be6a688d7 Mon Sep 17 00:00:00 2001 From: Shravan Goswami Date: Thu, 16 Jul 2026 21:32:21 +0530 Subject: [PATCH 6/7] Drop DI from the context wrapper testset name --- test/ad.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ad.jl b/test/ad.jl index b8a42117..2adf5966 100644 --- a/test/ad.jl +++ b/test/ad.jl @@ -1,4 +1,4 @@ -@testset "DI.AD with context wrapper" begin +@testset "AD with context wrapper" begin f(x, y, z) = sum(abs2, x .+ y .+ z) @testset "$T" for T in [Float32, Float64] From 0d7bd82c5d16d7bb16e321e482d72276549400b7 Mon Sep 17 00:00:00 2001 From: Shravan Goswami Date: Mon, 20 Jul 2026 13:37:36 +0530 Subject: [PATCH 7/7] cap Enzyme below 0.13.189 in the test environment Enzyme 0.13.189 fails with an LLVM canonicalization error on Julia 1.10; 0.13.188 is fine. Co-Authored-By: Claude Opus 4.8 (1M context) --- test/Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Project.toml b/test/Project.toml index ec6d8afa..8b04e703 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -22,7 +22,7 @@ ADTypes = "1.22.2" Bijectors = "0.16.2" DifferentiationInterface = "0.7.20" Distributions = "0.25.129" -Enzyme = "0.13.186" +Enzyme = "0.13.186 - 0.13.188" Flux = "0.16.10" ForwardDiff = "1.4.1" Functors = "0.5.2"