-
`Zygote` fails to use `rrule`s defined by other packages when run with `Julia 1.10+`
I noticed this when looking at compatibility with [`TaylorDiff.jl`](https://github.com/JuliaDiff/TaylorDiff.jl).…
-
We currently maintain a constantly-updated python execution environment for question code. This is good because we stay up to date, but it can be bad when major changes to packages (or python itself) …
-
```julia
using Flux
X = rand(2, 5)
layer = BatchNorm(2)
ps = params(layer)
gs = gradient(ps) do
sum(layer(X))
end
gs.grads
```
gives
```julia
IdDict{Any,Any} with 5 entries:
…
-
Hello,
I have been for educational purposes implementing RNN by hand and wanted to be fancy and use `accumulate` instead of recursion or for rule. But I run into an error, when one of the operands …
-
Here is the minimal reproducer I came up with
```julia
import Flux
import Zygote
using Functors
struct Test
a
b
end
@functor Test
function (m::Test)(x)
a = x
for f=m.…
-
At the moment we include Zygote in our benchmarking but as per #339 support across our tools is very poor and performance is bad. To reduce the number of warnings we could remove Zygote for now and ai…
-
MWE:
```julia
julia> using LinearAlgebra, Zygote, CUDA
julia> Zygote.gradient(x -> tr(x), CUDA.zeros(2,2))[1] # works
2×2 Diagonal{Float32, FillArrays.Fill{Float32, 1, Tuple{Base.OneTo{Int64}}…
-
When running WebView widget on Android Simulator I see constant stream of messages in the console like the following:
```
I/zygote ( 5185): NativeAlloc concurrent copying GC freed 14(32KB) AllocSpa…
-
chrome-linux版本为79
[ERRO] 2021-10-28 15:05:48 [rad:radium.go:209] [launcher] Failed to get the debug url: [1028/150547.437603:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox …
-
Hi there, first of all, thanks for this great package. I'm trying to understand how StochasticAD integrates with Zygote and I ran into a problem when trying to differentiate a "dot" operation. Here is…