Skip to content

Potentially silently incorrect behavior with functorch <-> autograd.Function interaction #96887

@zou3519

Description

@zou3519

🐛 Describe the bug

Initially reported by @AlphaBetaGamma96. Repro script over at https://gist.github.com/zou3519/8b25cc439cf5c51152f0d35a06cce010 . I'm still working on making it smaller, but just putting this issue up for tracking.

Versions

2.0

cc @ezyang @gchanan @albanD @gqchen @pearu @nikitaved @soulitzer @lezcano @Varal7 @Chillee @samdow @soumith @kshitij12345 @janeyx99

Metadata

Metadata

Assignees

Labels

actionablehigh prioritymodule: autogradRelated to torch.autograd, and the autograd engine in generalmodule: bc-breakingRelated to a BC-breaking changemodule: functorchPertaining to torch.func or pytorch/functorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions