GithubHelp home page GithubHelp logo

Comments (5)

ChrisRackauckas avatar ChrisRackauckas commented on June 19, 2024

Sorry, this was a bug introduced when compile times were fixed https://sciml.ai/news/2022/09/21/compile_time/ . It's fixed by SciML/SciMLSensitivity.jl#741 which will be in the next ecosystem update (so wait a day or so). Sorry about that!

from universal_differential_equations.

ChrisRackauckas avatar ChrisRackauckas commented on June 19, 2024

Fixed

from universal_differential_equations.

schminin avatar schminin commented on June 19, 2024

Thank you for fixing the bug! Unfortunately, after updating all packages, I get a method error due to ambiguity (see below for details).

MethodError: setup(::Adam{Float64}, ::ComponentVector{Float64, Vector{Float64}, Tuple{Axis{(δ = 1, ude = ViewAxis(2:88, Axis(layer_1 = ViewAxis(1:15, Axis(weight = ViewAxis(1:10, ShapedAxis((5, 2), NamedTuple())), bias = ViewAxis(11:15, ShapedAxis((5, 1), NamedTuple())))), layer_2 = ViewAxis(16:45, Axis(weight = ViewAxis(1:25, ShapedAxis((5, 5), NamedTuple())), bias = ViewAxis(26:30, ShapedAxis((5, 1), NamedTuple())))), layer_3 = ViewAxis(46:75, Axis(weight = ViewAxis(1:25, ShapedAxis((5, 5), NamedTuple())), bias = ViewAxis(26:30, ShapedAxis((5, 1), NamedTuple())))), layer_4 = ViewAxis(76:87, Axis(weight = ViewAxis(1:10, ShapedAxis((2, 5), NamedTuple())), bias = ViewAxis(11:12, ShapedAxis((2, 1), NamedTuple())))))))}}}) is ambiguous. Candidates:
setup(rule::AbstractRule, model) in Optimisers at ...
setup(opt, ps::ComponentArray) in Lux at ...
Possible fix, define
setup(::AbstractRule, ::ComponentArray)

from universal_differential_equations.

ChrisRackauckas avatar ChrisRackauckas commented on June 19, 2024

@avik-pal do you know what's up with that one?

from universal_differential_equations.

avik-pal avatar avik-pal commented on June 19, 2024

LuxDL/Lux.jl#176 should patch it. FluxML/Optimisers.jl#106 started specializing the dispatch on AbstractRule, which caused the breakage.

from universal_differential_equations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.