pytorch
2f6a371a - Revert "Optimize nn.Module __call__ fast path for dynamo (#95931)" (#96242)

Commit
1 year ago
Revert "Optimize nn.Module __call__ fast path for dynamo (#95931)" (#96242) Reverting due to concerns over silent unsoundness (skipped hooks) if users have directly added hooks dicts without using official torch APIs. This reverts commit 26045336ca323fd27cff2a7340fe896117d5fb6e. Pull Request resolved: https://github.com/pytorch/pytorch/pull/96242 Approved by: https://github.com/albanD
Author
Committer
Parents
Loading