Skip to content

Commit

Permalink
decrease batch size
Browse files Browse the repository at this point in the history
  • Loading branch information
acer-king committed Oct 15, 2024
1 parent 41c0347 commit bd42a52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions validators/weight_setter.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ async def perform_synthetic_queries(self):
f"synthetic queries and answers has been saved in cache successfully. total times {time.time() - start_time}")

def pop_synthetic_tasks_max_100_per_miner(self, synthetic_tasks):
batch_size = 50000
max_query_cnt_per_miner = 100
batch_size = 1000
max_query_cnt_per_miner = 50
batch_tasks = []
remain_tasks = []
uid_to_task_cnt = defaultdict(int)
Expand Down

0 comments on commit bd42a52

Please sign in to comment.