Valentin Churavy

Results 1411 comments of Valentin Churavy

Oof. > On my machine, this causes my sysimage to grow 150 MB → 173 MB Could we still throw out some of the smallest functions? E.f. have an inlining...

It needs someone to take ownership of this and drive it forwards. I am sadly unable to commit to that currently. My last attempt was https://github.com/JuliaLang/julia/pull/51432 which has the same...

> do you think the jl_object_id__cold might be coming from something fixable on the PythonCall.jl side, or is it definitely something in the Julia source itself? I would say it's...

@wsmoses how do I best go about fixing this?

`ijl_ptr_to_array` is not a copy, but it is an "aliasing" operation. It wraps a pointer in an Julia array.

@MilesCranmer it looks like you are calling autodiff from within the generator of a generated function?

Ah, no... Enzyme uses a generated function (side-eyes billy) and from there invokes `cached_compilation` which takes a lock. This might "happen" to work if it hits the fast-pass and there...

@MilesCranmer Can you try using `Enzyme.set_abi(Reverse, NonGenABI)` or `Enzyme.set_abi(Forward, NonGenABI)`?

Yeah I think the question is, can we provide a error for this? Also note the the original report used `Const` so it was doubly inactive.