From 3e5c41c98a2633555a1404a69332cb476e9c5e88 Mon Sep 17 00:00:00 2001 From: Caio Rocha <164253795+caiomcbr@users.noreply.github.com> Date: Wed, 8 Apr 2026 16:59:08 -0700 Subject: [PATCH] Adding Channel Type in ReduceSend Operation on DSL (#777) The reduce send operation in DSL essentially combines the reduce and put operations. The put operation carry the information about the channel type, whereas previously, we were using the channel type from the reduce operation. --- python/mscclpp/language/internal/operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/mscclpp/language/internal/operations.py b/python/mscclpp/language/internal/operations.py index 5f719c21..5fb392e3 100644 --- a/python/mscclpp/language/internal/operations.py +++ b/python/mscclpp/language/internal/operations.py @@ -745,7 +745,7 @@ class ReduceOperation(BaseOperation): remote_dst_buff=self.remote_dst_buff + other.dst_buff, channel_ids=self.channel_ids, put_channel_ids=self.put_channel_ids + other.channel_ids, - channel_type=self.channel_type, + channel_type=other.channel_type, reduce_operation=self.reduce_operation, tbg_info=self.tbg_info, packet=self.packet,