pytorch
ea2f5bbb - Unify async execution for JIT functions (#57852)

Commit
3 years ago
Unify async execution for JIT functions (#57852) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/57852 Another great example of the benefits of Futures. Thanks to the "right abstraction" (i.e., the `thenAsync` method), adding support for async execution becomes trivial, and the code much simpler than what it used to be. ghstack-source-id: 129567063 Test Plan: CI Reviewed By: mrshenli Differential Revision: D28253842 fbshipit-source-id: b660151ca300f3d6078db0f3e380c80a4d8f5190
Author
lw lw
Parents
Loading