ThummeTo

Results 103 comments of ThummeTo

Because the last release was in April 2021: Will there be a fix in a soon future or its is recommended to use an alternative? Best regards & season's greetings!

What exactly is the purpose of `grad_mut`? Can you please explain (or add a comment in the source code)? I have a very similar issue with a custom struct, that...

Ahh, I see. Thanks for the replies! However the function `grad_mut` is still part of the `setindex!` adjoint method [here](https://github.com/FluxML/Zygote.jl/blob/415ec0ad4302141db1051ff099b1875c390a1b46/src/lib/lib.jl#L279). In my case (mutable struct, subtype AbstractArray), `g=grad_mut` returns an...

This is only the case if we subtype with `AbstractArray`, see this little MWE with two structs, one of subtype `AbstractArray`, the other one not: ``` mutable struct STR1 a::AbstractArray{Real,...

I tried the following line (so I don't destroy anything): `grad_mut(s::STR2) = invoke(grad_mut, Tuple{Any}, s)` Indeed the error is gone, looks good! Thank you very much!

Thanks for the reply! Yep `ReverseDiffVJP(true)` is a good point, to be honest I wasn't sure if this is allowed to use, because of the "no-branching" requirement for pre-compilation of...

Very good news: DtO works in the current release(s) if you specify a solver by hand. Sensitivities are determined correctly and without numerical instabilities/NaNs. Thank you very much @ChrisRackauckas and...

Forgot to post the error message: ``` ERROR: MethodError: no method matching track(::Tuple{Vector{Float64}, Vector{Float64}}, ::Vector{ReverseDiff.AbstractInstruction}) Closest candidates are: track(::AbstractArray, ::Vector{ReverseDiff.AbstractInstruction}) at ...\ReverseDiff.jl\src\tracked.jl:469 track(::Real, ::Vector{ReverseDiff.AbstractInstruction}) at ...\ReverseDiff.jl\src\tracked.jl:467 track(::typeof(vcat), ::Union{Number, AbstractVecOrMat}...) at...

I can check that soon (best think would be to define a MWE that writes large nonsense-files). I don't know if it's at easy as replacing Uint32 with UInt64, propably...

Jep, I solved it this way too: ``` zipfile = "[path to my ZIP file].zip" comprDir = "[path you want to zip]" compress = true # or false, like you...