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
[ExecuTorch] Rework apply_ternary_elementwise_fn to allow fixing op_clamp build time (1/2)
This diff is a simple refactor that shouldn't materially
change the generated code -- we still create a "kernel" for each
combination of input1/input2/input3/output dtypes. The following diff
will use this to improve op_clamp (but not op_where, because one of
the input types is fixed, so it's not as bad a build time outlier)
build time.
Differential Revision: [D63681033](https://our.internmc.facebook.com/intern/diff/D63681033/)
ghstack-source-id: 245613706
Pull Request resolved: pytorch/executorch#5783
0 commit comments