Skip to content

Commit afddfde

Browse files
author
Tong Li
committed
fix consumer
1 parent 131eece commit afddfde

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

applications/ColossalChat/coati/distributed/consumer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ def setup(self) -> None:
7373
)
7474
if self.plugin_config.get("pp_size", 1) > 1 and "num_microbatches" not in self.plugin_config:
7575
plugin_config["microbatch_size"] = self.microbatch_size
76+
if self.plugin_config.get("tp_size", 1) > 1:
77+
plugin_config["parallel_output"] = False
7678
plugin_config.update(self.plugin_config)
7779
self.plugin = HybridParallelPlugin(**plugin_config)
7880
self.booster = Booster(plugin=self.plugin)

0 commit comments

Comments
 (0)