Skip to content

Commit

Permalink
Remove special TopK handling in SPMD partitioner
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 604819001
  • Loading branch information
GleasonK authored and tensorflower-gardener committed Feb 7, 2024
1 parent 8a81704 commit c81766f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion third_party/xla/xla/hlo/ir/hlo_instruction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3147,7 +3147,6 @@ bool HloInstruction::has_to_apply() const {
case HloOpcode::kReduceWindow:
case HloOpcode::kScatter:
case HloOpcode::kSort:
case HloOpcode::kTopK:
return true;
case HloOpcode::kCustomCall:
// CustomCall can have a to_apply computation, but it is not required to
Expand Down

0 comments on commit c81766f

Please sign in to comment.