Skip to content

Fully mutating linear solver #48

Open

Description

@gdalle

At the moment, AbstractDifferentiation does not have a fully mutating API, and benchmarks show allocations are non-negligible when multiplying by A and B. Opening this to track JuliaDiff/AbstractDifferentiation.jl#14 and see what we can do

Activity

  1. mohdibntarek commented on May 24, 2023

    @mohdibntarek
    Collaborator

    The problem is that most AD packages don't actually support mutation.

  2. gdalle commented on May 24, 2023

    @gdalle
    MemberAuthor

    Yeah I know, it would be useless for ChainRules, but not for ForwardDiff?

  3. added
    performanceImprove performance or stability
    and removed
    featureNew feature or request
    on Aug 8, 2023
  4. gdalle commented on Feb 21, 2024

    @gdalle
    MemberAuthor
  5. gdalle commented on Apr 10, 2024

    @gdalle
    MemberAuthor

    This is now possible with DifferentiationInterface but

    • it won't work with every outer backend
    • it requires a mutating version of the conditions conditions!(c, x, y)

    I hope to make it part of v0.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceImprove performance or stability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions