Skip to content

Para sub: check to see if network exist before setting any hyperparameter.#17

Open
SaMotlagh wants to merge 224 commits into
mainfrom
paraSub
Open

Para sub: check to see if network exist before setting any hyperparameter.#17
SaMotlagh wants to merge 224 commits into
mainfrom
paraSub

Conversation

@SaMotlagh

Copy link
Copy Markdown
Contributor

we should not be able to set hyperparameter for the network that does not exist.

SaMotlagh and others added 30 commits November 21, 2022 11:31
…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.
unconst and others added 30 commits January 5, 2023 12:50
…w-power

[BIT-616] Add synergy/scaling law power
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants