You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define the EXPERIMENTAL_PREFER_TRACING flag and the traceable option | feat(torchlib) (#1176)
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* #1178
* #1177
* __->__ #1176
As an effort described in
#1095, this PR
- adds an experimental `TORCHLIB_EXPERIMENTAL_PREFER_TRACING` flag to
allow the tracer to trace a function when possible.
- defined the `traceable` option in the torch_op decorator to mark a
function as `traceable`.
---------
Co-authored-by: Ti-Tai Wang <[email protected]>
0 commit comments