Skip to content

Commit

Permalink
refactor: remove unnecessary debug prints in IRCOTPipeline
Browse files Browse the repository at this point in the history
- Remove print statements for active_item_ids length and content
- Improve code readability and remove potential performance overhead
  • Loading branch information
ignorejjj committed Dec 3, 2024
1 parent c31aced commit 3cac6a8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions flashrag/pipeline/active_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,8 +981,6 @@ def run_batch(self, items):

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

Expand Down

0 comments on commit 3cac6a8

Please sign in to comment.