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.
2 parents 7d53064 + c574ca1 commit 095c8fdCopy full SHA for 095c8fd
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