Skip to content

Commit

Permalink
Merge pull request #138 from opentensor/fix/make-warnings-less-verbose
Browse files Browse the repository at this point in the history
Reduces severity of not-implemented
  • Loading branch information
ibraheem-opentensor authored Dec 18, 2024
2 parents b9d8b37 + 32c0e59 commit 76b5bac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/base/neuron.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ def should_set_weights(self) -> bool:
) # don't set weights if you're a miner

def save_state(self):
bt.logging.warning(
bt.logging.trace(
"save_state() not implemented for this neuron. You can implement this function to save model checkpoints or other useful data."
)

def load_state(self):
bt.logging.warning(
bt.logging.trace(
"load_state() not implemented for this neuron. You can implement this function to load model checkpoints or other useful data."
)

0 comments on commit 76b5bac

Please sign in to comment.