Skip to content

Commit

Permalink
Remove F32 check
Browse files Browse the repository at this point in the history
  • Loading branch information
wenscarl committed Dec 14, 2023
1 parent e8abce3 commit 818127c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions xla/service/gpu/gemm_rewriter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1513,12 +1513,6 @@ class GemmRewriterVisitor : public DfsHloRewriteVisitor {
return OkStatus();
}

// cublasLt F8 gemm has a known issue when fusing gelu epilogue with f32
// output.
if (gemm->shape().element_type() == F32 &&
gemm->custom_call_target() == kCublasLtMatmulF8CallTarget) {
return OkStatus();
}
// There are four users of the gemm output within the GELU calculation.
bool has_aux = gemm->user_count() > 4;

Expand Down

0 comments on commit 818127c

Please sign in to comment.