Bittensor
Search…
Preparing your Miner
Once your Miner is registered in the network you and have Subtensor running locally, your basic setup is complete. Your Miner will begin processing data, generating value for the network, and accruing Tao.
This area of the documentation will guide you through the basic customizations that can be made to your Miner in the form of "arguments", in order to set your Miner up for success in the network.

Choosing your Hardware

While the current network parameters do not demand the computational power of GPU, larger models might.
To run with GPU:
1
--neuron.device cuda
Copied!
To run with CPU:
1
--neuron.device cpu
Copied!

Choosing a Network

This argument specifies which instance of Subtensor you will connect to: a local copy, the public Nakamoto copy, or the test network Nobunaga.
1
--subtensor.network
Copied!
You can also select a network endpoint:
1
--subtensor.chain_endpoint
Copied!

Choosing a Wallet

Every running miner must be connected to a registered hotkey. This code will specify which hotkey you wanted to use, as well as the corresponding coldkey (wallet).
1
--wallet.name
Copied!
1
--hotkey.name
Copied!

Choosing a Port

Specifying a the port to access the network by is important because you will benefit from entering in a low traffic area. This will generally be one above 1024. Each miner need to have a unique port, so if you have two miners running on the same machine, they will require two separate ports.
The miner communicates with the network through its communication endpoint, the axon. This is where the argument is made.
1
--axon.port
Copied!
ex.
1
--axon.port 8090
Copied!

Restarting you Miner

Only use this argument when you wish to start your Miner from the beginning. This will delete all progress.
1
--neuron.restart
Copied!