Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Incorrect behavior on vmap(torch.autograd.functional.jacobian) #847

@zou3519

Description

@zou3519

Repro (uses facebookresearch/theseus): https://gist.github.com/zou3519/b645379a7afa56a170c9c49a0b9e2138

There is silently incorrect behavior on vmap over torch.autograd.functional.jacobian, but it works out if we vmap over functorch.jacrev instead.

This should either raise an error or not be silently incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    high priorityThese issues are at the top of mind for us.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions