Bittensor Subnet 64 (Chutes) tools
Before you start, make sure you have the following installed on your system:
- Python 3.12 or higher
gitpip
First, clone the repository to your local machine:
git clone https://github.com/minersunion/sn64-tools.git
cd sn64-toolspython -m venv venv
source venv/bin/activatepip install --upgrade pip
pip install -r requirements.txt
pip install -e .In your terminal, use this command to run the script:
python src/delete-remote-gpu.py --hotkey-path ~/.bittensor/wallets/COLDKEY_NAME/hotkeys/HOTKEY_NAME --miner-api-url http://x.x.x.x:32000It will display all your miner GPUs known by the Chutes validator in a rich table. And then it will prompt you for GPU index numbers or IPs to delete from the validator.
If you want to delete gpus automatically, use the --auto-delete flag to run the script:
while true;do python src/delete-remote-gpu.py --auto-delete;sleep 3600;doneAlternatively, you can run a cron job instead.
Many miners don't know how to delete their orphan GPUs from the remote validator DB, so they need to ping the subnet owner multiple times per day so that he can do it himself.
But if miners delete their own left over GPUs they they do not use anymore, it may help.
