Skip to content

Commit

Permalink
Merge pull request #87 from Datura-ai/Update-Bittensor
Browse files Browse the repository at this point in the history
Update bittensor
  • Loading branch information
surcyf123 authored Oct 2, 2024
2 parents 6288f3e + ccfcd52 commit 0f7b600
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file removed cache.db
Binary file not shown.
2 changes: 1 addition & 1 deletion cortext/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@


# version must stay on line 22
__version__ = "4.0.11"
__version__ = "4.0.12"
version_split = __version__.split(".")
__spec_version__ = (
(1000 * int(version_split[0]))
Expand Down
2 changes: 2 additions & 0 deletions validators/weight_setter.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ async def handle_response(responses):
async def create_query_syns_for_remaining_bandwidth(self):
query_tasks = []
for uid, provider_to_cap in self.task_mgr.remain_resources.items():
if provider_to_cap is None:
continue
for provider, model_to_cap in provider_to_cap.items():
for model, bandwidth in model_to_cap.items():
if bandwidth > 0:
Expand Down

0 comments on commit 0f7b600

Please sign in to comment.