We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
it would be good to preserve sparsity. the culprit in the ForwardDiff extension is:
y_and_dy = map(eachindex(IndexCartesian(), y)) do i Dual{T}(y[i], Partials(ntuple(k -> dy[k][i], Val(N)))) end
which always creates a dense array
The text was updated successfully, but these errors were encountered:
I agree it would be good, but see #21, sparse arrays already have some problems with ForwardDiff.jl that cannot be solved
Sorry, something went wrong.
block_gmres
The latest version v0.6.0 no longer supports matrices, only vectors. If you want sparsity, you need to create the sparse matrix inside the function. Enzyme takes a similar approach, and it avoids lots of headaches https://discourse.julialang.org/t/how-do-you-speed-up-the-linear-sparse-solver-in-zygote/111801/27?u=gdalle
No branches or pull requests
it would be good to preserve sparsity.
the culprit in the ForwardDiff extension is:
which always creates a dense array
The text was updated successfully, but these errors were encountered: