opentensor / bittensor

Internet-scale Neural Networks
https://www.bittensor.com/
MIT License
934 stars 323 forks source link

Serving with --neuron.no_set_weights calls metagraph.sync every minute or two #1019

Closed RD4Fun closed 1 year ago

RD4Fun commented 2 years ago

The server updates the console with the current weights every minute or so Unnecessary calls to metagraph.sync() which could affect performance of the server and whole network

Only occurs if argument --neuron.no_set_weights is true

https://github.com/opentensor/bittensor/blob/661c73dd4c32a5c551b49a509708c254a44297a2/bittensor/_neuron/text/core_server/run.py#L436

image

camfairchild commented 2 years ago

Merged into nobunaga

eduardogr commented 2 years ago

Just commenting that this will be closed when merging the staging branch nobunaga into master for the next release: 3.6.0