From 4ddc0b8e3db8c84f2d450521f1d3f39ad269d188 Mon Sep 17 00:00:00 2001 From: acer-king Date: Sat, 19 Oct 2024 03:34:16 -0700 Subject: [PATCH] decrease capacity --- validators/utils.py | 2 +- validators/validator.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/validators/utils.py b/validators/utils.py index 0506e487..3ed0b35d 100644 --- a/validators/utils.py +++ b/validators/utils.py @@ -174,7 +174,7 @@ def setup_max_capacity(item): if isinstance(value, dict): # If the value is another dictionary, recurse setup_max_capacity(value) elif isinstance(value, (int, float)): # If the value is a number, increment by 5 - item[key] = min(value, 50) + item[key] = min(value, 10) def get_bandwidth(data, uid, provider, model): diff --git a/validators/validator.py b/validators/validator.py index c855fec2..66a9da59 100644 --- a/validators/validator.py +++ b/validators/validator.py @@ -6,7 +6,6 @@ from pathlib import Path from dotenv import load_dotenv import bittensor as bt -import uvloop import wandb import cortext @@ -128,7 +127,6 @@ def main(): init_wandb(config) loop = asyncio.get_event_loop() - asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) weight_setter = WeightSetter(config=config, cache=cache_service, loop=loop) state_path = os.path.join(config.full_path, "state.json") utils.get_state(state_path)