From bd42a5274b4cf0c7855c19bae54ec1d9739748a7 Mon Sep 17 00:00:00 2001 From: acer-king Date: Tue, 15 Oct 2024 10:10:12 -0700 Subject: [PATCH] decrease batch size --- validators/weight_setter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validators/weight_setter.py b/validators/weight_setter.py index 4f78f2f3..4306f0fe 100644 --- a/validators/weight_setter.py +++ b/validators/weight_setter.py @@ -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)