Closed
Description
🚀 The feature, motivation and pitch
For example,
executorch/kernels/optimized/cpu/op_native_layer_norm.cpp
Lines 128 to 133 in 94f7b10
here it uses
check_layer_norm_args
, and it's defined inexecutorch/kernels/portable/cpu/util/normalization_ops_util.cpp
Lines 76 to 85 in 94f7b10
So it means
Either optimized_kernels/quantized_kernel depends on portable_kernels privately, or we split these helpers into its own lib.
Right now, it depends on user of optimized_kernels to pull in portable_kernels as well, so it's "it happens to work"
Alternatives
No response
Additional context
No response
RFC (Optional)
No response
Metadata
Metadata
Assignees
Type
Projects
Status
Done