File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -746,12 +746,6 @@ class SpmdPartitioningVisitor : public DfsHloVisitorWithDefault {
746746 // Common handle for HLOs that runs on a single device.
747747 absl::Status HandleSingleDevice (const HloInstruction* hlo);
748748
749- // CustomCall handlers per call target.
750- absl::Status HandleCustomCallTopK (HloInstruction* hlo);
751- // Convenient custom ops defined by the partitioner itself.
752- absl::Status HandleCustomCallSPMDInternal_RotateRight (HloInstruction* hlo);
753- absl::Status HandleCustomCallSPMDInternal_MultiRotate (HloInstruction* hlo);
754-
755749 virtual std::unique_ptr<SpmdPartitioningVisitor> Clone () const ;
756750
757751 // Returns the PartitionedHlo that corresponds to the original hlo.
@@ -906,6 +900,13 @@ class SpmdPartitioningVisitor : public DfsHloVisitorWithDefault {
906900 absl::Status HandleDUSAllPartitionedSliceDimsHaveConstantIndices (
907901 HloInstruction* hlo, const HloInstruction* input_tensor,
908902 const HloInstruction* update_tensor);
903+
904+ // Handlers for specific custom call targets.
905+ // go/keep-sorted start
906+ absl::Status HandleCustomCallSPMDInternal_MultiRotate (HloInstruction* hlo);
907+ absl::Status HandleCustomCallSPMDInternal_RotateRight (HloInstruction* hlo);
908+ absl::Status HandleCustomCallTopK (HloInstruction* hlo);
909+ // go/keep-sorted end
909910};
910911
911912} // namespace spmd
You can’t perform that action at this time.
0 commit comments