Skip to content

Commit 3cac6a8

Browse files
committed
refactor: remove unnecessary debug prints in IRCOTPipeline
- Remove print statements for active_item_ids length and content - Improve code readability and remove potential performance overhead
1 parent c31aced commit 3cac6a8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

flashrag/pipeline/active_pipeline.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -981,8 +981,6 @@ def run_batch(self, items):
981981

982982
# Perform batch retrieval for new thoughts of active items
983983
if active_item_ids:
984-
print(len(active_item_ids))
985-
print(active_item_ids)
986984
new_thoughts_for_retrieval = [batch_thoughts[item_id][-1] for item_id in active_item_ids]
987985
new_retrieval_results, new_scoress = self.retriever.batch_search(new_thoughts_for_retrieval, return_score=True)
988986

0 commit comments

Comments
 (0)