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

Conversation

zou3519
Copy link
Contributor

@zou3519 zou3519 commented Apr 28, 2022

No description provided.

@zou3519
Copy link
Contributor Author

zou3519 commented Apr 28, 2022

Before anyone asks: this is a pretty big hack. Ideally we would register the decomposition with PyTorch's forward-mode AD and since functorch leverages the PyTorch forward-mode AD implementation and rules for its jvp transform, then we would get them for free.

Since this was relatively easy to do and I want to do some initial testing for this approach, I added this hack, but in parallel we should make progress toward being able to use decompositions with the PyTorch forward-mode AD subsystem.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants