Skip to content

Bump the all-julia-packages group across 2 directories with 2 updates#187

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/julia/docs/all-julia-packages-a084cdc869
Open

Bump the all-julia-packages group across 2 directories with 2 updates#187
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/julia/docs/all-julia-packages-a084cdc869

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 5, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on Pluto and Mooncake to permit the latest version.
Updates Pluto to 1.0.1

Release notes

Sourced from Pluto's releases.

v1.0.1

Try this release in your browser! (Available 30 minutes after the release)

Learn more about Binder and Pluto at plutojl.org/en/docs/binder!

New features

  • update static featured notebooks bundle to Pluto 1.0

Fixes

  • audio recording problem (#3559)

Diff since v1.0.0

Commits

Updates Mooncake to 0.5.31

Release notes

Sourced from Mooncake's releases.

v0.5.31

Mooncake v0.5.31

Diff since v0.5.30

Merged pull requests:

Closed issues:

  • fcodual_type / codual_type crash on UnionAll Type inputs with free TypeVars (#1191)
Changelog

Sourced from Mooncake's changelog.

0.5.26

  • Add Config(empty_cache=true) to free internal caches before rebuilding rules.
config = Mooncake.Config(empty_cache=true)
cache = Mooncake.prepare_gradient_cache(sin, 1.0; config)

0.5.25

  • Add nfwd: a new N-wide forward-mode implementation built around NDual, with Nfwd / NfwdMooncake internals and broad tests for scalar, array, and rule-building paths.
  • Expand Mooncake's forward-mode interface and caching around nfwd, including prepared derivative/gradient cache improvements and lower-allocation hot paths for repeated calls.
  • Route a broader scalar-math set through nfwd-backed direct primitive frule!! / rrule!! wrappers, reducing dependence on imported ChainRules rules for these cases.
  • Move the ChainRules-backed matrix exp rule into MooncakeChainRulesExt, making ChainRules a weak dependency rather than a core dependency.
  • Add precompile workloads, including complex scalar reverse/forward-mode paths for ComplexF64 and ComplexF32.
  • Improve docs for nfwd, including usage examples, interface notes, and clarification of nfwd/public-interface overheads.

The friendly_tangents=true path previously converted every internal tangent to a value of the primal type via tangent_to_primal!!. This relied on _copy_output to pre-allocate a buffer and tangent_to_primal_internal!! to fill it on every call. Both steps proved problematic:

  • _copy_output is best-effort and not guaranteed correct for all types — #1084 shows a recent silent failure
  • The primal round-trip was wrong for types with shared storage (e.g. Symmetric, where one stored entry represents two logical positions), silently returning an incorrect gradient — #937

Default behaviour change

Before After
default: value of primal type default: raw Mooncake tangent
primal round-trip: always primal round-trip: explicit opt-in
custom gradient: not possible custom gradient: explicit opt-in

The raw-tangent default (friendly_tangents=false) is safer: it never silently drops or corrupts information and avoids unnecessary allocation. Under the default, arrays of IEEEFloat (or complex) elements have plain array tangents; callables with no captured differentiable state return NoTangent; and structs or closures with differentiable fields return a Mooncake.Tangent (immutable) or Mooncake.MutableTangent (mutable) wrapping a named tuple of their field tangents.

With friendly_tangents=true, structs (both immutable and mutable with the standard MutableTangent tangent type) and closures additionally unwrap to plain NamedTuples. Mutable structs with custom tangent types return raw tangent unchanged. Types whose raw tangent reflects internal implementation layout rather than user-visible structure — AbstractDict (hash-table internals), Symmetric, Hermitian, SymTridiagonal — require explicit gradient reconstruction and are opt-in, each with their own tests.

0.5.24

Add stop_gradient(x) to block gradient propagation, analogous to tf.stop_gradient in TensorFlow and jax.lax.stop_gradient in JAX.

julia> using Mooncake
julia> f(x) = x[1] * Mooncake.stop_gradient(x)[2]
f (generic function with 1 method)
julia> cache = Mooncake.prepare_gradient_cache(f, [3.0, 4.0]);
julia> , (, g) = Mooncake.value_and_gradient!!(cache, f, [3.0, 4.0]);
julia> g  # g[2] == 0.0: gradient through x[2] inside stop_gradient is blocked
2-element Vector{Float64}:
</tr></table>

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file julia Pull requests that update julia code labels Jun 5, 2026
@dependabot dependabot Bot force-pushed the dependabot/julia/docs/all-julia-packages-a084cdc869 branch from 01d7603 to 2007a8a Compare June 5, 2026 17:26
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

TuringGLM.jl documentation for PR #187 is available at:
https://TuringLang.github.io/TuringGLM.jl/previews/PR187/

Updates the requirements on [Pluto](https://github.com/JuliaPluto/Pluto.jl) and [Mooncake](https://github.com/chalk-lab/Mooncake.jl) to permit the latest version.

Updates `Pluto` to 1.0.1
- [Release notes](https://github.com/JuliaPluto/Pluto.jl/releases)
- [Commits](JuliaPluto/Pluto.jl@v0.20.0...v1.0.1)

Updates `Mooncake` to 0.5.31
- [Release notes](https://github.com/chalk-lab/Mooncake.jl/releases)
- [Changelog](https://github.com/chalk-lab/Mooncake.jl/blob/main/HISTORY.md)
- [Commits](chalk-lab/Mooncake.jl@v0.4.122...v0.5.31)

---
updated-dependencies:
- dependency-name: Mooncake
  dependency-version: 0.5.31
  dependency-type: direct:production
  dependency-group: all-julia-packages
- dependency-name: Pluto
  dependency-version: 1.0.1
  dependency-type: direct:production
  dependency-group: all-julia-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/julia/docs/all-julia-packages-a084cdc869 branch from 2007a8a to 724ebf4 Compare June 12, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file julia Pull requests that update julia code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants