Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglirong1999 committed May 9, 2024
1 parent 9d540b7 commit a2715c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class SelfAttentionFusePass : public pir::PatternRewritePass {
return false;
#endif
if (!phi::backends::cpu::MayIUse(phi::backends::cpu::cpu_isa_t::avx512f)) {
return;
return false;
}

return op->num_regions() > 0;
Expand Down

0 comments on commit a2715c9

Please sign in to comment.