Skip to content

Update AbstractNeuralNetworks requirement from 0.8 to 0.8, 0.9 - #55

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/julia/AbstractNeuralNetworks-0.6-and-0.9
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/julia/AbstractNeuralNetworks-0.6-and-0.9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Updates the requirements on AbstractNeuralNetworks to permit the latest version.

Release notes

Sourced from AbstractNeuralNetworks's releases.

v0.9.0

AbstractNeuralNetworks v0.9.0

Diff since v0.8.0

Methods that GeometricMachineLearning (GML) defined on this package's types move here, so GML no longer pirates them. The full notes are in the 0.9.0 section of CHANGELOG.md.

Breaking Changes

  • A GML that still defines the 3-tensor methods on Dense and Linear fails to precompile against this release ("Method overwriting is not permitted during Module precompilation"). GML deletes them in the same change that raises its AbstractNeuralNetworks bound.
  • The backend keyword of load(NeuralNetwork, …) is removed. The network loads on the CPU; changebackend(backend, nn) moves it to a device.

New Features

  • Dense, Linear and Affine accept inputs of rank 3 or more, through reshape and one matrix product, on any array type.
  • A weak extension HDF5Ext provides save and load for NeuralNetwork.

Bug Fixes

  • A top-level Zygote.pullback(applychain, layers, x, ps) gives the storage gradient of each leaf and keeps the leaf's type; a parameter cotangent of nothing no longer raises a MethodError.
  • parameterlength(::Dense) reads the bias flag as a Bool.

Dependencies

  • Requires NeuralNetworkParameters 0.4.2 (and so GeometricBase 0.15) and Julia 1.11.

Merged pull requests:

Changelog

Sourced from AbstractNeuralNetworks's changelog.

[0.9.0] — 2026-10-02

Methods that GeometricMachineLearning (GML) defined on this package's types move here. A method on Dense, Linear or NeuralNetwork is type piracy wherever it is written outside this package. GML defined three such methods, the 3-tensor methods on Dense and Linear, and the save/load methods for NeuralNetwork in its HDF5 extension.

Breaking Changes

  • A GML that still defines the three 3-tensor methods fails to precompile against this release, with "Method overwriting is not permitted during Module precompilation". GML has to delete them in the same change that raises its AbstractNeuralNetworks bound.

  • The backend keyword of load(NeuralNetwork, …) is removed; the network loads on the CPU and changebackend(backend, nn) moves it to a device with parameters included.

New Features

  • Dense, Linear and Affine accept inputs of rank 3 or more. Each layer applies its weight matrix to the first dimension, preserving the remaining dimensions. The implementation uses only reshape and matrix multiplication, so it runs on any array type that supports both — including device-backed arrays.

  • A new weak extension, HDF5Ext, provides save and load for NeuralNetwork. The extension defines methods for HDF5 stores; filename forms are NeuralNetworkParameters' own methods. The extension loads automatically when HDF5 is available.

Dependencies and tests

  • Requires NeuralNetworkParameters 0.4 (compat only; no change to this package's own behaviour). Under Zygote, NNP 0.4 calls the loss with the NetworkParameters itself rather than the wrapped NamedTuple, and converts the cotangent of each leaf with storage_gradient to the gradient with respect to that leaf's storage. A Chain still accepts a whole set as a bare NamedTuple as well: SymbolicNeuralNetworks builds symbolic networks whose parameters are one.

  • Requires NeuralNetworkParameters 0.4.2 (compat only; no change to this package's own behaviour). NNP 0.4.2 requires GeometricBase 0.15, which declares its stubs public and requires Julia 1.11; this package's Julia floor is 1.11 already.

  • The test suite follows the common layout (no change to the package's behaviour). The test dependencies move from [extras]/[targets] to test/Project.toml; Aqua and Documenter are new test dependencies. runtests.jl runs the groups core and slow, and each test file sits at the path of the source file it tests. New: test/quality/aqua.jl, with the check for method ambiguities marked broken for the two ambiguities of apply (#43), and test/quality/doctests.jl in slow. LinearAlgebra and Random get the compat bound "1", which Aqua requires. The empty test/architecture_tests.jl, which held no test, is removed.

  • test/Project.toml no longer repeats the root's bounds (test environment only; no change to the package). Its [compat] table loses the entries for HDF5, KernelAbstractions, LinearAlgebra, NeuralNetworkParameters, Random and StaticArrays, which are dependencies

... (truncated)

Commits
  • e013d83 Release 0.9.0
  • 43c1244 Raise the NeuralNetworkParameters floor to 0.4.2 (#53)
  • 67dd00a Sync the shared git hooks
  • f376ab2 Update the shared pre-push hook: test the suite's exit status directly
  • 346cfac Read the Dense bias flag as a Bool (#51)
  • cccf34d CI.yml, dependabot.yml: comment fixes (canonical Environment 1f3b574)
  • 95e736d dependabot.yml: test/ and docs/ carry no bound for a shared dependency (canon...
  • b915508 Remove the shared compat entries from test/Project.toml (#52)
  • a1a7119 Dependabot: update the root Project.toml only
  • d859a29 Update Documenter requirement to 1.19.0 in /docs (#47)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file julia Pull requests that update julia code labels Oct 11, 2026
@dependabot
dependabot Bot force-pushed the dependabot/julia/AbstractNeuralNetworks-0.6-and-0.9 branch 2 times, most recently from 24b1be1 to d8d0f35 Compare October 11, 2026 20:30
@dependabot dependabot Bot changed the title Update AbstractNeuralNetworks requirement from 0.6 to 0.6, 0.9 Update AbstractNeuralNetworks requirement from 0.8 to 0.8, 0.9 Oct 12, 2026
@dependabot
dependabot Bot force-pushed the dependabot/julia/AbstractNeuralNetworks-0.6-and-0.9 branch from d8d0f35 to a3f7a43 Compare October 12, 2026 11:23
@codecov

codecov Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.83%. Comparing base (e111300) to head (be6f954).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #55   +/-   ##
=======================================
  Coverage   49.83%   49.83%           
=======================================
  Files          13       13           
  Lines         616      616           
=======================================
  Hits          307      307           
  Misses        309      309           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Updates the requirements on [AbstractNeuralNetworks](https://github.com/JuliaGNI/AbstractNeuralNetworks.jl) to permit the latest version.
- [Release notes](https://github.com/JuliaGNI/AbstractNeuralNetworks.jl/releases)
- [Changelog](https://github.com/JuliaGNI/AbstractNeuralNetworks.jl/blob/main/CHANGELOG.md)
- [Commits](JuliaGNI/AbstractNeuralNetworks.jl@v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: AbstractNeuralNetworks
  dependency-version: 0.9.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/julia/AbstractNeuralNetworks-0.6-and-0.9 branch from a3f7a43 to be6f954 Compare October 12, 2026 11:51
@dependabot @github

dependabot Bot commented on behalf of github Oct 18, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #57.

@dependabot dependabot Bot closed this Oct 18, 2026
@dependabot
dependabot Bot deleted the dependabot/julia/AbstractNeuralNetworks-0.6-and-0.9 branch October 18, 2026 10:23
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