@@ -27,11 +27,11 @@ Tensor& sdpa_with_kv_cache_out_no_context(
2727 const int64_t seq_len,
2828 // @lint-ignore CLANGTIDY facebook-hte-ConstantArgumentPassByValue
2929 // @lint-ignore CLANGTIDY facebook-hte-ParameterMightThrowOnCopy
30- const std:: optional<Tensor> attn_mask,
30+ const optional<Tensor> attn_mask,
3131 const double dropout_p,
3232 const bool is_causal,
3333 // @lint-ignore CLANGTIDY facebook-hte-ParameterMightThrowOnCopy
34- const std:: optional<double > scale,
34+ const optional<double > scale,
3535 Tensor& output);
3636
3737at::Tensor sdpa_with_kv_cache_aten (
@@ -57,11 +57,11 @@ Tensor& custom_sdpa_out_no_context(
5757 const int64_t start_pos,
5858 // @lint-ignore CLANGTIDY facebook-hte-ConstantArgumentPassByValue
5959 // @lint-ignore CLANGTIDY facebook-hte-ParameterMightThrowOnCopy
60- const std:: optional<Tensor> attn_mask,
60+ const optional<Tensor> attn_mask,
6161 const double dropout_p,
6262 const bool is_causal,
6363 // @lint-ignore CLANGTIDY facebook-hte-ParameterMightThrowOnCopy
64- const std:: optional<double > scale,
64+ const optional<double > scale,
6565 Tensor& output);
6666
6767at::Tensor custom_sdpa_aten (
@@ -84,17 +84,17 @@ Tensor& custom_quantized_sdpa_out_no_context(
8484 const int64_t start_pos,
8585 // @lint-ignore CLANGTIDY facebook-hte-ConstantArgumentPassByValue
8686 // @lint-ignore CLANGTIDY facebook-hte-ParameterMightThrowOnCopy
87- const std:: optional<Tensor> attn_mask,
87+ const optional<Tensor> attn_mask,
8888 const double dropout_p,
8989 const bool is_causal,
9090 // @lint-ignore CLANGTIDY facebook-hte-ParameterMightThrowOnCopy
91- const std:: optional<double > scale,
92- const std:: optional<Tensor> q_zero_points,
93- const std:: optional<Tensor> q_scales,
94- const std:: optional<Tensor> k_zero_points,
95- const std:: optional<Tensor> k_scales,
96- const std:: optional<Tensor> v_zero_points,
97- const std:: optional<Tensor> v_scales,
91+ const optional<double > scale,
92+ const optional<Tensor> q_zero_points,
93+ const optional<Tensor> q_scales,
94+ const optional<Tensor> k_zero_points,
95+ const optional<Tensor> k_scales,
96+ const optional<Tensor> v_zero_points,
97+ const optional<Tensor> v_scales,
9898 const bool is_seq_at_dim_2,
9999 Tensor& output);
100100
@@ -153,11 +153,11 @@ Tensor& sdpa_with_kv_cache_out_no_context(
153153 const int64_t seq_len,
154154 // @lint-ignore CLANGTIDY facebook-hte-ConstantArgumentPassByValue
155155 // @lint-ignore CLANGTIDY facebook-hte-ParameterMightThrowOnCopy
156- const std:: optional<Tensor> attn_mask,
156+ const optional<Tensor> attn_mask,
157157 const double dropout_p,
158158 const bool is_causal,
159159 // @lint-ignore CLANGTIDY facebook-hte-ParameterMightThrowOnCopy
160- const std:: optional<double > scale,
160+ const optional<double > scale,
161161 Tensor& output) {
162162 executorch::runtime::KernelRuntimeContext context{};
163163 return torch::executor::native::sdpa_with_kv_cache_out (
@@ -215,11 +215,11 @@ Tensor& custom_sdpa_out_no_context(
215215 const int64_t start_pos,
216216 // @lint-ignore CLANGTIDY facebook-hte-ConstantArgumentPassByValue
217217 // @lint-ignore CLANGTIDY facebook-hte-ParameterMightThrowOnCopy
218- const std:: optional<Tensor> attn_mask,
218+ const optional<Tensor> attn_mask,
219219 const double dropout_p,
220220 const bool is_causal,
221221 // @lint-ignore CLANGTIDY facebook-hte-ParameterMightThrowOnCopy
222- const std:: optional<double > scale,
222+ const optional<double > scale,
223223 Tensor& output) {
224224 executorch::aten::RuntimeContext context{};
225225 return torch::executor::native::custom_sdpa_out (
@@ -260,17 +260,17 @@ Tensor& custom_quantized_sdpa_out_no_context(
260260 const int64_t start_pos,
261261 // @lint-ignore CLANGTIDY facebook-hte-ConstantArgumentPassByValue
262262 // @lint-ignore CLANGTIDY facebook-hte-ParameterMightThrowOnCopy
263- const std:: optional<Tensor> attn_mask,
263+ const optional<Tensor> attn_mask,
264264 const double dropout_p,
265265 const bool is_causal,
266266 // @lint-ignore CLANGTIDY facebook-hte-ParameterMightThrowOnCopy
267- const std:: optional<double > scale,
268- const std:: optional<Tensor> q_zero_points,
269- const std:: optional<Tensor> q_scales,
270- const std:: optional<Tensor> k_zero_points,
271- const std:: optional<Tensor> k_scales,
272- const std:: optional<Tensor> v_zero_points,
273- const std:: optional<Tensor> v_scales,
267+ const optional<double > scale,
268+ const optional<Tensor> q_zero_points,
269+ const optional<Tensor> q_scales,
270+ const optional<Tensor> k_zero_points,
271+ const optional<Tensor> k_scales,
272+ const optional<Tensor> v_zero_points,
273+ const optional<Tensor> v_scales,
274274 const bool is_seq_at_dim_2,
275275 Tensor& output) {
276276 executorch::aten::RuntimeContext context{};
0 commit comments