Comments (2)
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.
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)
- Illegal type analysis error for GraphsFlows.jl max flow HOT 3
- Enzyme issue with component arrays HOT 7
- import_frule / import_rrule docs don't appear
- `CuArray` broadcasting HOT 2
- Autodiff for `A -> A * A'` does not give hermitian result for complex `A` HOT 3
- Autodiff for function that builds ODEProblem HOT 1
- Autodiff fails for solving ODE with tstops keyword specified HOT 4
- autodiff fails when solving ODE if ODEFunction is used HOT 1
- Differential use analysis error HOT 3
- Adding KA.synchronize rule HOT 3
- JET complains about closure in active_reg_inner HOT 3
- Error with local function, keyword args and sparse arrays HOT 2
- Compilation fails with named sparse arrays HOT 7
- Regression in Broadcasting support HOT 2
- Enzyme support for TimerOutputs.jl
- Inactivated PyCall Calling Functions Block Enzyme? HOT 1
- Mixed activity for broadcast against scalars HOT 10
- Error in precompiling in julia 1.11beta2 HOT 3
- Higher order AD error
- Missing support for erf (and related I guess) again HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enzyme.jl.