Skip to content

Commit 00cd2c5

Browse files
author
acer-king
committed
fix: enable organic query
1 parent 7e2a6f2 commit 00cd2c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validators/weight_setter.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ def __init__(self, loop: asyncio.AbstractEventLoop):
4141
self.total_scores = torch.zeros(len(self.metagraph.hotkeys))
4242
self.organic_scoring_tasks = set()
4343
self.thread_executor = concurrent.futures.ThreadPoolExecutor(thread_name_prefix='asyncio')
44-
# self.loop.create_task(self.consume_organic_scoring())
45-
# self.loop.create_task(self.perform_synthetic_scoring_and_update_weights())
44+
self.loop.create_task(self.consume_organic_scoring())
45+
self.loop.create_task(self.perform_synthetic_scoring_and_update_weights())
4646

4747
async def run_sync_in_async(self, fn):
4848
return await self.loop.run_in_executor(self.thread_executor, fn)

0 commit comments

Comments
 (0)