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
Update on "[Executorch][Portable] Dont upcast to double for sigmoid"
Upcasting to double for compute precision may not be aten compliant.
Reason for internal test change:
Apparently running on broadwell CPU vs test runner with Cooper lake gives
different results for this change.
Without this change:
Both broadwell and Cooper lake will produce "Once upon a time, there was a
little"
With this change:
Broadwell still produces "Once upon a time, there was a little", while
Cooperlake produces "Once upon a time, there was a girl".
So one possibility is that that some XNNPACK kernel for Cooper lake is produces
slightly different numerical result that propagates through.
Still landing this change since upcasting to double for compute, does not seem
necessary.
Differential Revision: [D65928920](https://our.internmc.facebook.com/intern/diff/D65928920/)
[ghstack-poisoned]
0 commit comments