Skip to content

Optimize jacobian computation of AutodiffCostFunction #10

Open
@luisenp

Description

@luisenp

Torch autograd's jacobian, used by LearnableCostFunction computes cross-batch gradients which is undesirable. I haven't seen an out of the box solution, so we might need to do some manual backward() and proper use of vmap() to compute the jacobian on our own.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions