tested anb fix style issue

This commit is contained in:
YeAnbang
2025-09-22 09:36:47 +08:00
parent 8745e8f4d1
commit c095ec35da
2 changed files with 0 additions and 2 deletions

View File

@@ -165,7 +165,6 @@ class BaseConsumer:
state_dict, src=self.num_producers, device=self.device, group_name="sync_model"
)
del state_dict
print(f"[C{self.rank}]: Sync model before training done")
torch.cuda.empty_cache()
self.profiler.exit("sync_model")

View File

@@ -381,7 +381,6 @@ class AsyncVLLMInferenceBackend(AsyncInferenceBackend):
log_probs = []
response_idx = []
while len(self.running_requests) >= self.microbatch_size:
# print(f"Current running {len(self.running_requests)}/{self.microbatch_size} requests, waiting...")
await asyncio.sleep(0.1)
self.running_requests.append(request_id) # enqueue
# pop the first input_ids and attention_mask