pytorch
17489784 - Teach dynamo about torch.func.jvp (#119926)

Commit
276 days ago
Teach dynamo about torch.func.jvp (#119926) List of changes: - Replace JVP_NESTING by torch._C._functorch.maybe_current_level() - Remove all increment nesting functions from wrap_fx_proxy_cls - fwAD.make_dual receives the dual_level as keyword argument - Add jvp_increment_nesting, set_fwd_grad_enabled and dual_level context managers to dynamo Pull Request resolved: https://github.com/pytorch/pytorch/pull/119926 Approved by: https://github.com/zou3519
Committer
Parents
Loading