We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d53064 commit c574ca1Copy full SHA for c574ca1
webgenie/rewards/visual_reward/visual_reward.py
@@ -80,6 +80,7 @@ async def reward(self, task: Task, solutions: List[Solution]) -> np.ndarray:
80
current_work_dir = f"{WORK_DIR}/task_{timestamp}_{task.task_id}"
81
os.makedirs(current_work_dir, exist_ok=True)
82
83
+ bt.logging.info(f"The number of cpu cores: {os.cpu_count()}")
84
# Use ProcessPoolExecutor for parallel processing
85
with multiprocessing.Pool(processes=os.cpu_count()) as pool:
86
# Convert solutions into chunks for parallel processing
0 commit comments