Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features/limit repeated queries #93

Merged
merged 20 commits into from
Feb 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unused import and printing
  • Loading branch information
steffencruz committed Feb 7, 2024
commit a644c788f4834553cbcc2dfce3a90dbe3964bd9a
3 changes: 0 additions & 3 deletions neurons/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
from prompting.llm import load_pipeline
from prompting.base.validator import BaseValidatorNeuron
from prompting.rewards import RewardPipeline
from prompting.utils.uids import check_uid_availability

class Validator(BaseValidatorNeuron):
"""
Expand Down Expand Up @@ -58,8 +57,6 @@ def __init__(self, config=None):
# Load the reward pipeline
self.reward_pipeline = RewardPipeline(selected_tasks=self.active_tasks, device=self.device)

for i, axon in enumerate(self.metagraph.axons):
check_uid_availability(self.metagraph, i, self.config.neuron.vpermit_tao_limit)

async def forward(self):
"""
Expand Down