Skip to content

Commit c095ec3

Browse files
committed
tested anb fix style issue
1 parent 8745e8f commit c095ec3

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

applications/ColossalChat/coati/distributed/consumer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ def loop(self) -> None:
165165
state_dict, src=self.num_producers, device=self.device, group_name="sync_model"
166166
)
167167
del state_dict
168-
print(f"[C{self.rank}]: Sync model before training done")
169168
torch.cuda.empty_cache()
170169
self.profiler.exit("sync_model")
171170

applications/ColossalChat/coati/distributed/inference_backend.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,6 @@ async def generate(
381381
log_probs = []
382382
response_idx = []
383383
while len(self.running_requests) >= self.microbatch_size:
384-
# print(f"Current running {len(self.running_requests)}/{self.microbatch_size} requests, waiting...")
385384
await asyncio.sleep(0.1)
386385
self.running_requests.append(request_id) # enqueue
387386
# pop the first input_ids and attention_mask

0 commit comments

Comments
 (0)