Добавить
Уведомления

Bittensor Revolution Validator Update

# Bittensor Revolution Validator Update This is intended as a guide for those who are ALREADY running a validator. There will be a longer version on setting up a new validator coming soon. ## Update Bittensor to Revolution Branch `cd /root/.bittensor/bittensor/` `git fetch origin master` (or 'revolution' if using testnet) `git checkout revolution` (if using testnet) `git pull` `python3 -m pip install -e .` ## Install Text Prompting Subnet `cd /root/.bittensor/` `mkdir subnets` `cd subnets` `git clone https://github.com/opentensor/text-prompting.git` `cd text-prompting` `python -m pip install -r requirements.txt` `python -m pip install -e .` ## Register & Set Weights on Root `btcli s register` `btcli r weights` ## Start Validator ### Python `wandb init` `python ~/.bittensor/subnets/text-prompting/neurons/validators/validator.py --netuid 1 --subtensor.network finney --wallet.name default --wallet.hotkey default --logging.trace` ### PM2 `pm2 start ~/.bittensor/subnets/text-prompting/neurons/validators/validator.py --name validator -- --netuid 1 --subtensor.network finney --wallet.name default --wallet.hotkey default --logging.trace` ### PM@ with auto-update `pm2 start run.sh --name text_prompt_validators_autoupdate -- --wallet.name default --wallet.hotkey default` ## Check it is all working fine. `pm2 monit` ## REMOVE wandb cache [!!CAUTION!!] `du -a / | sort -n -r | head -n 50` `cd /root/.bittensor/miners/default/default/netuid1/core_prompting_validator/wandb` `rm -r *` ## Links [btcli Cheat cheat](https://github.com/TaoStats/bittensor-resources/blob/main/btcli_cheat_sheet.md) [subnet documentation](https://hackmd.io/Ej75bQYqQ9a5RK1iADrfRA) [bittensor docs](https://bittensor.com/documentation/intro/index)

12+
19 просмотров
2 года назад
12+
19 просмотров
2 года назад

# Bittensor Revolution Validator Update This is intended as a guide for those who are ALREADY running a validator. There will be a longer version on setting up a new validator coming soon. ## Update Bittensor to Revolution Branch `cd /root/.bittensor/bittensor/` `git fetch origin master` (or 'revolution' if using testnet) `git checkout revolution` (if using testnet) `git pull` `python3 -m pip install -e .` ## Install Text Prompting Subnet `cd /root/.bittensor/` `mkdir subnets` `cd subnets` `git clone https://github.com/opentensor/text-prompting.git` `cd text-prompting` `python -m pip install -r requirements.txt` `python -m pip install -e .` ## Register & Set Weights on Root `btcli s register` `btcli r weights` ## Start Validator ### Python `wandb init` `python ~/.bittensor/subnets/text-prompting/neurons/validators/validator.py --netuid 1 --subtensor.network finney --wallet.name default --wallet.hotkey default --logging.trace` ### PM2 `pm2 start ~/.bittensor/subnets/text-prompting/neurons/validators/validator.py --name validator -- --netuid 1 --subtensor.network finney --wallet.name default --wallet.hotkey default --logging.trace` ### PM@ with auto-update `pm2 start run.sh --name text_prompt_validators_autoupdate -- --wallet.name default --wallet.hotkey default` ## Check it is all working fine. `pm2 monit` ## REMOVE wandb cache [!!CAUTION!!] `du -a / | sort -n -r | head -n 50` `cd /root/.bittensor/miners/default/default/netuid1/core_prompting_validator/wandb` `rm -r *` ## Links [btcli Cheat cheat](https://github.com/TaoStats/bittensor-resources/blob/main/btcli_cheat_sheet.md) [subnet documentation](https://hackmd.io/Ej75bQYqQ9a5RK1iADrfRA) [bittensor docs](https://bittensor.com/documentation/intro/index)

, чтобы оставлять комментарии