Andrei Zhabinski

Results 180 comments of Andrei Zhabinski

Thanks! I posted the corresponding issue in JuliaDiff/ChainRules.jl#589 as other AD systems may benefit from such a rule too.

It's a bug. Yota thinks `Optimisers.Restucture(...)` is a primitive and records it to the tape instead of tracing it down to `(:new, T, args...)` (represented as `__new__(T, args...)` on the...

This seems to work on `main`: ```julia using Optimisers, ChainRulesCore function gradient(f, xs...) println("Yota gradient!") _, g = Yota.grad(f, xs...) g[2:end] end; # a quick hack, not really tested function...

It looks like a different error, tracing constructors of `UnionAll`, which caused the previous error, works correctly this time: ```julia julia> trace((m,v) -> destructure(m)[2](v)[1], m1, [1,2,3.0]; ctx=GradCtx()) (1.0, Tape{GradCtx} inp...

Sorry for the silence - I've been working on some bug fixes and improvements that may affect this question too. In particular, I added lineinfo to call nodes, and here's...

Apparently, Julia 1.9 changes the way static parameters (i.e. type parameters, `{T}`) are used in IRCode. You can update Umlaut to 0.4.5 to account for this. (No changes to the...

@JuliaRegistrator register

@JuliaRegistrator register

Ah, right, the TagBot GitHub action was quite outdated. Thanks for bringing my attention to this! I'm going to fix a few more issues and tag the new version in...

@JuliaRegistrator register