未验证 提交 bf0ef606 编写于 作者: Z zhaoyingli 提交者: GitHub

disable fast_layer_norm (#56263)

上级 c27bd049
......@@ -606,7 +606,7 @@ void LayerNormKernel(const Context &dev_ctx,
if ((feature_size >= 768 && feature_size <= 2048 && feature_size % 256 == 0 ||
feature_size == 4096) &&
scale != nullptr && bias != nullptr) {
can_call_fast_kernel = true;
can_call_fast_kernel = false;
}
if (can_call_fast_kernel) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册