Skip to content

Commit

Permalink
Merge pull request #240 from nauttiilus/1.7.3-dev
Browse files Browse the repository at this point in the history
Update 1.7.3
  • Loading branch information
nauttiilus authored Jan 13, 2025
2 parents 1979ceb + af58dce commit 2fa8cb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions compute/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
import string

# Define the version of the template module.
__version__ = "1.7.2"
__version__ = "1.7.3"
__minimal_miner_version__ = "1.6.0"
__minimal_validator_version__ = "1.6.1"
__minimal_validator_version__ = "1.7.3"

version_split = __version__.split(".")
__version_as_int__ = (100 * int(version_split[0])) + (10 * int(version_split[1])) + (1 * int(version_split[2]))
Expand Down
6 changes: 3 additions & 3 deletions neurons/Validator/calculate_pow_score.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ def calc_score_pog(gpu_specs, hotkey, allocated_hotkeys, config_data, mock=False
# Get the GPU with the maximum score
max_gpu = max(gpu_scores, key=gpu_scores.get)
max_score = gpu_scores[max_gpu]*8
score_factor = 50/max_score
score_factor = 100/max_score

gpu_name = gpu_specs.get("gpu_name")
num_gpus = min(gpu_specs.get("num_gpus"), 8)

# Get GPU score
score = gpu_scores.get(gpu_name) * num_gpus * score_factor

# Add allocation score, multiplier = 2
# Allocation score multiplier = 1 (no allocation bonus)
if hotkey in allocated_hotkeys:
score = score * 2
score = score * 1

# Logging score
bt.logging.info(f"Score - {hotkey}: {score:.2f}/100")
Expand Down

0 comments on commit 2fa8cb2

Please sign in to comment.