Conversation
…we manage adding/removing networks. in weights, we update weights for each neuron. served axon, added sudo functions and many more tests
Count stake only for recently updated UIDs within the activity_cutoff. Active stake is still normalized.
When collecting bonds, do not re-prune neuron i via `NeuronsShouldPruneAtNextEpoch::<T>::get( netuid, uid_i as u16 )`, since the bonds of i have already been cleared when the neuron registered.
Since sum_i b_ij = 1 the bonds in j (col) sums to 100% shared between bond owners i (row).
Deregistered neurons should have weights set on them pruned at least once if chain epoch length < validator epoch length, e.g. if chain epoch is every 100 blocks < validator epoch every 250 blocks. If a validator sets weights only every 250 blocks, and refreshes its metagraph at the same rate, then if a neuron deregisters it'll take at least 250 blocks before its weight will be updated. The chain epoch can ignore weights set on a pruned neuron within the first 100 blocks of pruning without risk of overwriting updated weights from the validator. However, chain epoch may need to prune weights beyond the first epoch after pruning, by utilizing BlockAtRegistration for pruned UID and last_update for each validator.
Add neuron metadata rpc
…w-power [BIT-616] Add synergy/scaling law power
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
we should not be able to set hyperparameter for the network that does not exist.