Skip to content

Commit

Permalink
[XLA:GPU] remove channel ID checks in hlo_instructions.cc
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 693462785
  • Loading branch information
Google-ML-Automation committed Nov 15, 2024
1 parent e62a4b0 commit bf184e3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions xla/hlo/ir/hlo_instructions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -706,8 +706,6 @@ void HloChannelInstruction::set_channel_id(
HloInstructionProto HloChannelInstruction::ToProto() const {
HloInstructionProto proto = HloInstruction::ToProto();
if (channel_id_) {
CHECK_GT(channel_id_.value(), 0)
<< "Non-positive channel id is equivalent to no channel id";
proto.set_channel_id(*channel_id_);
}
return proto;
Expand Down

0 comments on commit bf184e3

Please sign in to comment.