Sergio Sánchez Ramírez

Results 119 comments of Sergio Sánchez Ramírez

I've updated to the latest Enzyme (v0.12.6) and the error seems a lil bit different (No more big explosions!). For the function `f` below, ```julia function f(ssa1::Array{Float64, 1}, ssa2::Array{Float64, 1},...

This is not working either... ```julia function custom_einsum!(ixs, iy, @nospecialize(xs::NTuple{2, Any}), @nospecialize(y), sx, sy, size_dict::Dict{LT}) where LT iyv = OMEinsum._collect(LT,iy) ix1v, ix2v = OMEinsum._collect.(Ref(LT), ixs) x1, x2 = xs c1,...

I'm getting the following error [here](https://github.com/EnzymeAD/Reactant.jl/actions/runs/9944022931/job/27469120868?pr=40#step:9:561) ```julia ERROR: LoadError: UndefVarError: `PassBuilder` not defined in `Enzyme.Compiler` Stacktrace: [1] macro expansion @ ~/.julia/packages/LLVM/5DlHM/src/base.jl:96 [inlined] [2] (::Enzyme.Compiler.var"#prop_julia_addr#28416"{LLVM.TargetMachine})(f::LLVM.Function) @ Enzyme.Compiler ~/.julia/packages/Enzyme/Pljwm/src/compiler/optimize.jl:75 [3] function_pass_callback(ptr::Ptr{Nothing}, data::Ptr{Nothing})...

There is an open issue about this in https://github.com/microsoft/vscode/issues/200261. Apparently there was a similar bug in Python https://github.com/microsoft/vscode/issues/146397.

We already have that, and while we would like a XLA without LLVM/MLIR (which we could link to Julia's LLVM), I guess it's not entirely possible because `libxla_extension.so` exports all...

> FYI, this comes up because there are platforms where wheels can't be shipped, like the BSD's, Android, WebAssembly, etc., but those systems may have cmake and ninja (or just...

@henryiii According to meson's [Release Notes](https://mesonbuild.com/Release-notes-for-0-54-0.html#ninja-version-requirement-bumped-to-17), from version 0.54 it requires ninja 1.7 at least.

Added! It tests against a `MockType` in a `MockModule`.

Forgot to add methods for `fdiff` and `rdiff`. Should be fixed now.

I fixed all errors in the tests except one: The rrule test of `MockType`. The pullback in `rrule` defined for `mock_function` should return a number ```julia function ChainRulesCore.rrule(::typeof(MockModule.mock_function), x) y...