GithubHelp home page GithubHelp logo

Comments (2)

wsmoses avatar wsmoses commented on June 2, 2024

this is amazing. and ironically fixed by #626 but didn't get merged from lack of test.

@motabbara swap out the test for this and let's merge?

from enzyme.jl.

wsmoses avatar wsmoses commented on June 2, 2024

With that fix, we now have:

julia> autodiff(Reverse, f, Active, Duplicated(x, dx))
ERROR: Enzyme execution failed.
Not applying memset on reverse of jl_array_del_end
Stacktrace:
 [1] _deleteend!
   @ ./array.jl:1023
 [2] resize!
   @ ./array.jl:1254
 [3] filter
   @ ./array.jl:2612

Stacktrace:
 [1] throwerr(cstr::Cstring)
   @ Enzyme.Compiler ~/git/Enzyme.jl/src/compiler.jl:2910
 [2] macro expansion
   @ ~/git/Enzyme.jl/src/compiler.jl:9514 [inlined]
 [3] enzyme_call
   @ ~/git/Enzyme.jl/src/compiler.jl:9206 [inlined]
 [4] CombinedAdjointThunk
   @ ~/git/Enzyme.jl/src/compiler.jl:9169 [inlined]
 [5] autodiff(#unused#::EnzymeCore.ReverseMode{false}, f::Const{typeof(f)}, #unused#::Type{Active}, args::Duplicated{Vector{Float64}})
   @ Enzyme ~/git/Enzyme.jl/src/Enzyme.jl:205
 [6] autodiff(::EnzymeCore.ReverseMode{false}, ::typeof(f), ::Type, ::Duplicated{Vector{Float64}})
   @ Enzyme ~/git/Enzyme.jl/src/Enzyme.jl:214
 [7] top-level scope
   @ REPL[5]:1

from enzyme.jl.

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.