Skip to content

Commit e8bef72

Browse files
committed
lint
1 parent d94ca74 commit e8bef72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ATen/native/xpu/sycl/LayerNormKernels.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ void _layer_norm_kernel(
599599
beta.defined() ? can_vectorize(beta_data, alignment) : true;
600600

601601
if ((std::is_same_v<T, float> || std::is_same_v<T, at::Half> ||
602-
std::is_same_v<T, at::BFloat16>) &&
602+
std::is_same_v<T, at::BFloat16>) &&
603603
N <= static_cast<int64_t>(1ULL << std::numeric_limits<float>::digits) &&
604604
N % num_vec_elems == 0 && can_vec_X && can_vec_Y && can_vec_gamma &&
605605
can_vec_beta) {

0 commit comments

Comments
 (0)