William Moses

Results 168 issues of William Moses

@vchuravy I'm not quite sure how to add the pluto notebook to the docs https://github.com/DJ4Earth/MPE24/blob/main/Enzyme/enzyme_tut.jl In particular it has a dependency on other julia packages.

``` [42370] signal (11.2): Segmentation fault: 11 in expression starting at /Users/wmoses/git/Enzyme.jl/test/runtests.jl:648 jl_object_id__cold at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-HL2F7YQ3XH.0/build/default-honeycrisp-HL2F7YQ3XH-0/julialang/julia-release-1-dot-10/src/builtins.c:455 type_hash at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-HL2F7YQ3XH.0/build/default-honeycrisp-HL2F7YQ3XH-0/julialang/julia-release-1-dot-10/src/jltypes.c:1575 typekey_hash at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-HL2F7YQ3XH.0/build/default-honeycrisp-HL2F7YQ3XH-0/julialang/julia-release-1-dot-10/src/jltypes.c:1605 jl_precompute_memoized_dt at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-HL2F7YQ3XH.0/build/default-honeycrisp-HL2F7YQ3XH-0/julialang/julia-release-1-dot-10/src/jltypes.c:1685 inst_datatype_inner at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-HL2F7YQ3XH.0/build/default-honeycrisp-HL2F7YQ3XH-0/julialang/julia-release-1-dot-10/src/jltypes.c:2081 jl_inst_arg_tuple_type at /Users/julia/.julia/scratchspaces/a66863c6-20e8-4ff4-8a62-49f30b1f605e/agent-cache/default-honeycrisp-HL2F7YQ3XH.0/build/default-honeycrisp-HL2F7YQ3XH-0/julialang/julia-release-1-dot-10/src/jltypes.c:2176...

segfault

See https://github.com/EnzymeAD/Enzyme.jl/issues/1771 (but we now also ought do for MTL) CUDA.jl has Enzyme rules for CuArray constructors, and kernel launches. See https://github.com/JuliaGPU/CUDA.jl/blob/master/ext/EnzymeCoreExt.jl Importing MTLArray versions of these here would enable...

Needed for Enzyme custom rules in Julia 1.11 Let's us revert having to vendor it ourselves in https://github.com/EnzymeAD/Enzyme.jl/pull/1981/files

```julia (f, tt, world, typeof(f)) = (Enzyme.Compiler.add_one_in_place, Tuple{Any}, 0x000000000000683a, typeof(Enzyme.Compiler.add_one_in_place)) Stacktrace: [1] methodinstance @ ~/.julia/packages/GPUCompiler/2CW9L/src/jlgen.jl:82 [inlined] function nested_codegen!(mode::API.CDerivativeMode, mod::LLVM.Module, f, tt, world) + @show f, tt, world, typeof(f) funcspec =...

I know there's a bunch of misc PR's open for resolving, but I didn't see a tracking issue so opening this as something to point folks to. x/ref in this...

see https://github.com/JuliaLang/julia/blob/346f38bceabf3dab1d3912fe822a663735c91d4a/base/reflection.jl#L1505 It looks like it is needed for Enzyme to support 1.11+ I didn't see an obvious way to forward the arg in here, so opening an issue

See https://github.com/SciML/NonlinearSolve.jl/issues/476 Obviously should be reformatted and cleaned up a bit.