Loading
Loading
This information was auto-extracted from the GitHub repository and may be incomplete or out of date. Always refer to the subnet's GitHub repository for the latest instructions.
Minimum 4 cores at 2.5 GHz, recommended 8 cores at 3.0 GHz. Min 4GB swap, recommended 8GB swap. 50GB disk recommended.
Minimum 4 cores at 2.5 GHz, recommended 8 cores at 3.0 GHz. Min 4GB swap, recommended 8GB swap. SSD storage recommended with min 1000 IOPS, recommended 5000 IOPS. 100GB disk recommended.
Clone the Graphite subnet repository
git clone https://github.com/GraphiteAI/Graphite-Subnet.git
Navigate into the cloned repository directory
cd Graphite-Subnet
Create and activate a virtual environment (optional but recommended)(optional)
python3.10 -m venv <your_environment_name> && source <your_environment_name>/bin/activate
Disable pip cache to avoid installation issues
export PIP_NO_CACHE_DIR=1
Install Python package dependencies
pip install -r requirements.txt
Create a local editable installation of the Graphite package
pip install -e .
Create a new coldkey for your wallet
btcli wallet new_coldkey --wallet.name <your_wallet_name>
Create a new hotkey associated with your coldkey
btcli wallet new_hotkey --wallet.name <your_coldkey_name> --wallet.hotkey <your_hotkey_name>
Register your wallet on the mainnet subnet (netuid 43 for Graphite)
btcli subnet register --wallet.name <your_wallet_name> --wallet.hotkey <your_hotkey_name> --netuid 43
Run the miner neuron to begin mining on Graphite
python3 -m neurons.miner --netuid 43 --subtensor.network finney --wallet.name <NAME> --wallet.hotkey <HOTKEY> --logging.debug --axon.port <PORT> --blacklist.force_validator_permit True
Clone the Graphite subnet repository
git clone https://github.com/GraphiteAI/Graphite-Subnet.git
Navigate into the cloned repository directory
cd Graphite-Subnet
Create and activate a virtual environment (optional but recommended)(optional)
python3.10 -m venv <your_environment_name> && source <your_environment_name>/bin/activate
Disable pip cache to avoid installation issues
export PIP_NO_CACHE_DIR=1
Install Python package dependencies
pip install -r requirements.txt
Create a local editable installation of the Graphite package
pip install -e .
Create a new coldkey for your validator wallet
btcli wallet new_coldkey --wallet.name <your_wallet_name>
Create a new hotkey associated with your coldkey
btcli wallet new_hotkey --wallet.name <your_coldkey_name> --wallet.hotkey <your_hotkey_name>
Register your validator wallet on the mainnet subnet (netuid 43)
btcli subnet register --wallet.name <your_wallet_name> --wallet.hotkey <your_hotkey_name> --netuid 43
Create a W&B account for validator metrics tracking
Head to https://wandb.ai/site and create a Weights & Biases account
Set up W&B API key in environment configuration
Create a .env file with WANDB_API_KEY=YOUR_API_KEY
Run a synthetic validator that generates random graph problems
python3 neurons/validator.py --netuid 43 --subtensor.network finney --wallet.name <NAME> --wallet.hotkey <HOTKEY> --logging.trace --axon.port <PORT> --organic False