Skip to content

EnzymeCore-v0.8.28

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Nov 15:18
· 10 commits to main since this release
f3c88a5

EnzymeCore EnzymeCore-v0.8.28

Diff since EnzymeCore-v0.8.27

  • Support Julia 1.14

Merged pull requests:

  • docs: fix math rendering in box example (#3366) (@sai-kalai)
  • Return the shadow of the stored value from jl_f_setfield (#3556) (@wsmoses)
  • Enzyme: Support LLVM.jl@v10 (#3741) (@maleadt)
  • Support the field-aware write barriers of julia#62737 (#3765) (@vchuravy)
  • Skip GC-field null stores when Julia zeroes the allocation itself (#3766) (@vchuravy)
  • Add an allowed-failure Julia 1.14 assertions job to CI (#3861) (@vchuravy)
  • Add test for packed float tuple in mutable struct (#3868) (#3907) (@wsmoses)
  • Fix TypeTree for Array{Union{}} and GenericMemory{kind, Union{}} (#3937) (@wsmoses)
  • Mark Julia runtime singleton and exception globals inactive (#3938) (@wsmoses)
  • Strip mode-specific enzyme_custom attributes from cached bitcode (#3940) (@wsmoses)
  • CompatHelper: bump compat for Enzyme_jll to 0.0.306, (keep existing compat) (#3956) (@github-actions[bot])
  • Support GPUArrays 12 and array-returning sum(x; dims) reductions (#3957) (@michel2323)
  • Temporarily skip forward-over-reverse rrule test on Julia < 1.12 (#3960) (@wsmoses)
  • Update Project.toml (#3963) (@wsmoses)
  • Fix jl_ptr_to_array_fwd when instruction is constant but value is active (#3977) (@wsmoses)
  • Convert hypot rule derivatives to match argument/return types (#3979) (#3981) (@wsmoses)
  • Preserve sparse shadow structure in @import_rrule (#3982) (@wsmoses)
  • Mark Base.eps, nextfloat, and prevfloat ReadOnly when arguments are passed by pointer (#3987) (@wsmoses)
  • Emit multi-element enzyme_truetype metadata for constant-size memtransfer on Ptr{ET} (#3990) (@wsmoses)
  • Use MixedDuplicated in runtime_newtask_augfwd when closure shadow is a RefValue (#3992) (@wsmoses)
  • Bump version to 0.13.220 and update dependencies (#3995) (@wsmoses)
  • Mark julia.get_pgcstack_or_new as recomputable and readnone/no_escaping_alloc (#4012) (@wsmoses)
  • Fix EnzymeNoTypeError broadcasting over arrays of structs with inline fields (#4035) (@kshyatt)
  • Drop constant-memory alias claims from functions Enzyme inlines (#4046) (@wsmoses)
  • Drop the LLVM.OperandBundleDef compatibility branches (#4064) (@vchuravy)
  • Bump Enzyme_jll to 0.0.310 (#4065) (@vchuravy)
  • docs: fix broken Literate math block in box example (#4066) (@vchuravy)
  • Distributions tests: MatrixFDist reverse passes on Julia 1.13.4 (#4068) (@vchuravy)
  • Initialize the return roots in enzyme_call with null (#4069) (@vchuravy)
  • Format all Julia files with Runic (#4071) (@vchuravy)
  • Enforce Runic formatting in CI and ignore the format commit in blame (#4072) (@vchuravy)
  • Run the AMDGPU tests on a MI250X through CSCS CI (#4073) (@vchuravy)
  • Find cholmod structs in SparseArrays.LibSuiteSparse (#4075) (@vchuravy)
  • Use captures(none) instead of nocapture on LLVM 21+ (#4076) (@vchuravy)
  • Adapt lifetime intrinsics to LLVM 22 (#4077) (@vchuravy)
  • Retarget the call instead of RAUW-ing a ConstantInt for cached autodiff pointers (#4079) (@vchuravy)
  • Pass rule return types as Core.TypeEgal and compile rules for their exact MethodInstance on 1.14 (#4080) (@vchuravy)
  • Differentiate julia.gc_alloc_memory (julia#63672) (#4081) (@vchuravy)
  • EnzymeCore: find custom rules on Julia 1.14 (#4096) (@vchuravy)

Closed issues:

  • @spawn error (#3226)
  • Accumulating into local complex number fails in Julia 1.12 (EnzymeNoDerivativeError) (#3411)
  • Segfault with eps(BigFloat) (#3441)
  • Forward mode over type-unstable setfield!/setproperty! with used return value: wrong shadow at width 1, "Instruction does not dominate all uses" verifier crash at width ≥ 2 (#3555)
  • @import_rrule with a sparse cotangent corrupts both the shadow and the primal SparseMatrixCSC (#3601)
  • Wrong gradient after deleteat! on a Vector of structs (Julia 1.12 and 1.13) (#3708)
  • Negative loop-cache count for a skipped inner loop: OutOfMemoryError or heap overrun in reverse mode since 0.13.206 (#3787)
  • Reverse mode: no rule for sum(x; dims) on a CuArray (_mapreduce with an array return) (#3808)
  • Reverse through FunctionWrapper: invalid augmented jlcapi_CallWrapper shadow (pgcstack_or_new cached before tape alloc); GC corruption through OrdinaryDiffEq solve with runtime activity (#3821)
  • DivideError in EnzymeCreatePrimalAndGradient with views and a Vector→Matrix broadcast (#3852)
  • Custom rule receives a corrupted Const isbits argument under dynamic dispatch when has_easy_rule is registered (since 0.13.206, still on main) (#3867)
  • Julia 1.13.2: EnzymeNoDerivativeError: cannot handle unknown binary operator: or when a mutable struct stores a Tuple{Float32,Float32} (#3868)
  • Reverse mode through sparse A \ b aborts with LLVM ERROR: function failed verification (CHOLMOD _extract_args) (#3961)
  • hypot reverse rule returns the promoted type for mixed Float32/Float64 arguments (ReverseRuleReturnError) (#3979)
  • Reverse mode: "Not yet implemented constant table in jl_eqtable_get" when a buffer fetched from an inactive IdDict is written with active data (#4018)
  • EnzymeNoTypeError when broadcasting over an array of structs with an inline (Int, Bool) field (#4034)
  • Julia 1.13.4: "unsupported tag julia.gc_alloc_zeroinit" (and gc_alloc_ptr_offsets, gc_alloc_zeroinit_indirect) aborts on a vector of vectors (#4051)